Skip to content
Specify token N out of M for the Random Paritioner
Find file
Latest commit b46f12f Jan 30, 2012 @tjake first commit
Failed to load latest commit information.
README first commit Jan 30, 2012 first commit Jan 30, 2012


Calculates a initial token for the random paritioner assuming a fixed cluster size.

To run token calculator run:

java TokenCalculator N M

Where N: is the clockwise position of the token you wish to calculate. N starts at 0.
Where M: is the total number of nodes in the ring

Something went wrong with that request. Please try again.