Class TokenAllocation
- java.lang.Object
-
- org.apache.cassandra.dht.tokenallocator.TokenAllocation
-
public class TokenAllocation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static double
WARN_STDEV_GROWTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<Token>
allocateTokens(TokenMetadata tokenMetadata, int replicas, InetAddressAndPort endpoint, int numTokens)
static java.util.Collection<Token>
allocateTokens(TokenMetadata tokenMetadata, AbstractReplicationStrategy rs, InetAddressAndPort endpoint, int numTokens)
-
-
-
Field Detail
-
WARN_STDEV_GROWTH
public static final double WARN_STDEV_GROWTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
allocateTokens
public static java.util.Collection<Token> allocateTokens(TokenMetadata tokenMetadata, AbstractReplicationStrategy rs, InetAddressAndPort endpoint, int numTokens)
-
allocateTokens
public static java.util.Collection<Token> allocateTokens(TokenMetadata tokenMetadata, int replicas, InetAddressAndPort endpoint, int numTokens)
-
-