public abstract class TokenAllocatorBase<Unit> extends java.lang.Object implements TokenAllocator<Unit>
Modifier | Constructor and Description |
---|---|
protected |
TokenAllocatorBase(java.util.NavigableMap<Token,Unit> sortedTokens,
org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy,
IPartitioner partitioner) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<Unit,org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase.UnitInfo<Unit>> |
createUnitInfos(java.util.Map<java.lang.Object,org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase.GroupInfo> groups) |
abstract int |
getReplicas() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUnit
protected TokenAllocatorBase(java.util.NavigableMap<Token,Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner)
Copyright © 2009-2021 The Apache Software Foundation