Class AbstractConsistentHash

java.lang.Object
org.infinispan.distribution.ch.impl.AbstractConsistentHash
All Implemented Interfaces:
ConsistentHash
Direct Known Subclasses:
DefaultConsistentHash, ScatteredConsistentHash

public abstract class AbstractConsistentHash extends Object implements ConsistentHash
Author:
Radim Vansa <rvansa@redhat.com>
  • Field Details

    • STATE_CAPACITY_FACTOR

      protected static final String STATE_CAPACITY_FACTOR
      See Also:
    • STATE_CAPACITY_FACTORS

      protected static final String STATE_CAPACITY_FACTORS
      See Also:
    • STATE_NUM_SEGMENTS

      protected static final String STATE_NUM_SEGMENTS
      See Also:
    • members

      protected final List<Address> members
      The membership of the cache topology that uses this CH.
    • capacityFactors

      protected final float[] capacityFactors
  • Constructor Details

    • AbstractConsistentHash

      protected AbstractConsistentHash(int numSegments, List<Address> members, Map<Address,Float> capacityFactors)
    • AbstractConsistentHash

      protected AbstractConsistentHash(int numSegments, List<Address> members, float[] capacityFactors)
    • AbstractConsistentHash

      protected AbstractConsistentHash(ScopedPersistentState state)
  • Method Details