Specify token N out of M for the Random Paritioner
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with tjake:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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