Class NoReplicationTokenAllocator<Unit>
java.lang.Object
org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase<Unit>
org.apache.cassandra.dht.tokenallocator.NoReplicationTokenAllocator<Unit>
- All Implemented Interfaces:
TokenAllocator<Unit>
-
Constructor Summary
ConstructorsConstructorDescriptionNoReplicationTokenAllocator(NavigableMap<Token, Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner) -
Method Summary
Methods inherited from class org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase
createUnitInfos
-
Constructor Details
-
Method Details
-
createTokenInfos
protected void createTokenInfos()Used in tests. -
addUnit
-
getReplicas
public int getReplicas()- Specified by:
getReplicasin classTokenAllocatorBase<Unit>
-
toString
-