Class TokenAllocatorBase<Unit>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TokenAllocatorBase​(java.util.NavigableMap<Token,​Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenAllocatorBase

        protected TokenAllocatorBase​(java.util.NavigableMap<Token,​Unit> sortedTokens,
                                     org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy,
                                     IPartitioner partitioner)
    • Method Detail

      • getReplicas

        public abstract int getReplicas()
      • createUnitInfos

        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)