Class CacheJoinInfo


  • public class CacheJoinInfo
    extends java.lang.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,
                             Hash hashFunction,
                             int numSegments,
                             int numOwners,
                             long timeout,
                             boolean totalOrder,
                             CacheMode cacheMode,
                             float capacityFactor,
                             PersistentUUID persistentUUID,
                             java.util.Optional<java.lang.Integer> persistentStateChecksum)
    • Method Detail

      • getHashFunction

        public 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 java.util.Optional<java.lang.Integer> getPersistentStateChecksum()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object