Class TokenAllocatorBase<Unit>
java.lang.Object
org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase<Unit>
- All Implemented Interfaces:
TokenAllocator<Unit>
- Direct Known Subclasses:
NoReplicationTokenAllocator
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTokenAllocatorBase(NavigableMap<Token, Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner) -
Method Summary
Modifier and TypeMethodDescriptioncreateUnitInfos(Map<Object, org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase.GroupInfo> groups) abstract intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.dht.tokenallocator.TokenAllocator
addUnit
-
Constructor Details
-
Method Details
-
getReplicas
public abstract int getReplicas() -
createUnitInfos
-