Class CacheJoinInfo


  • public class CacheJoinInfo
    extends Object
    This class contains the information that a cache needs to supply to the coordinator when starting up.
    Since:
    5.2
    Author:
    Dan Berindei
    • Constructor Detail

      • CacheJoinInfo

        public CacheJoinInfo​(ConsistentHashFactory consistentHashFactory,
                             org.infinispan.commons.hash.Hash hashFunction,
                             int numSegments,
                             int numOwners,
                             long timeout,
                             boolean totalOrder,
                             CacheMode cacheMode,
                             float capacityFactor,
                             PersistentUUID persistentUUID,
                             Optional<Integer> persistentStateChecksum)
    • Method Detail

      • getHashFunction

        public org.infinispan.commons.hash.Hash getHashFunction()
      • getNumSegments

        public int getNumSegments()
      • getNumOwners

        public int getNumOwners()
      • getTimeout

        public long getTimeout()
      • isTotalOrder

        public boolean isTotalOrder()
      • getCacheMode

        public CacheMode getCacheMode()
      • getCapacityFactor

        public float getCapacityFactor()
      • getPersistentStateChecksum

        public Optional<Integer> getPersistentStateChecksum()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object