com.netflix.astyanax.connectionpool.impl
Class TokenHostConnectionPoolPartition<CL>

java.lang.Object
  extended by com.netflix.astyanax.connectionpool.impl.HostConnectionPoolPartition<CL>
      extended by com.netflix.astyanax.connectionpool.impl.TokenHostConnectionPoolPartition<CL>
Type Parameters:
CL -

public class TokenHostConnectionPoolPartition<CL>
extends HostConnectionPoolPartition<CL>

Collection of pools that own a token range of the ring


Field Summary
 
Fields inherited from class com.netflix.astyanax.connectionpool.impl.HostConnectionPoolPartition
activePools, pools, prioritize, strategy
 
Constructor Summary
TokenHostConnectionPoolPartition(java.math.BigInteger id, LatencyScoreStrategy strategy)
           
 
Method Summary
 java.math.BigInteger id()
          Token or shard identifying this partition.
 
Methods inherited from class com.netflix.astyanax.connectionpool.impl.HostConnectionPoolPartition
addPool, getPools, hasPool, isSorted, refresh, removePool, setPools, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenHostConnectionPoolPartition

public TokenHostConnectionPoolPartition(java.math.BigInteger id,
                                        LatencyScoreStrategy strategy)
Method Detail

id

public java.math.BigInteger id()
Token or shard identifying this partition.

Returns: