Class TokenAllocation
java.lang.Object
org.apache.cassandra.dht.tokenallocator.TokenAllocation
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Token>allocateTokens(TokenMetadata tokenMetadata, int replicas, InetAddressAndPort endpoint, int numTokens) static Collection<Token>allocateTokens(TokenMetadata tokenMetadata, AbstractReplicationStrategy rs, InetAddressAndPort endpoint, int numTokens)
-
Field Details
-
WARN_STDEV_GROWTH
public static final double WARN_STDEV_GROWTH- See Also:
-
-
Method Details
-
allocateTokens
public static Collection<Token> allocateTokens(TokenMetadata tokenMetadata, AbstractReplicationStrategy rs, InetAddressAndPort endpoint, int numTokens) -
allocateTokens
public static Collection<Token> allocateTokens(TokenMetadata tokenMetadata, int replicas, InetAddressAndPort endpoint, int numTokens)
-