Class ScatteredConsistentHashFactory.Builder

    • Field Detail

      • hashFunction

        protected final org.infinispan.commons.hash.Hash hashFunction
      • modCount

        protected int modCount
    • Method Detail

      • getNumSegments

        public int getNumSegments()
      • getPrimaryOwner

        public Address getPrimaryOwner​(int segment)
      • addPrimaryOwner

        public void addPrimaryOwner​(int segment,
                                    Address newPrimaryOwner)
      • setRebalanced

        public void setRebalanced​(boolean isRebalanced)
      • getPrimaryOwned

        public int getPrimaryOwned​(Address node)
      • getOwned

        public int getOwned​(Address node)
      • getNumNodes

        public int getNumNodes()
      • getCapacityFactor

        public float getCapacityFactor​(Address node)
      • getTotalCapacity

        public float getTotalCapacity()