Package org.infinispan.topology
Class CacheJoinInfo
- java.lang.Object
-
- org.infinispan.topology.CacheJoinInfo
-
public class CacheJoinInfo extends java.lang.ObjectThis class contains the information that a cache needs to supply to the coordinator when starting up.- Since:
- 5.2
- Author:
- Dan Berindei
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheJoinInfo.Externalizer
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CacheModegetCacheMode()floatgetCapacityFactor()ConsistentHashFactorygetConsistentHashFactory()HashgetHashFunction()intgetNumOwners()intgetNumSegments()java.util.Optional<java.lang.Integer>getPersistentStateChecksum()PersistentUUIDgetPersistentUUID()longgetTimeout()inthashCode()booleanisTotalOrder()java.lang.StringtoString()
-
-
-
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
-
getConsistentHashFactory
public ConsistentHashFactory getConsistentHashFactory()
-
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()
-
getPersistentUUID
public PersistentUUID getPersistentUUID()
-
getPersistentStateChecksum
public java.util.Optional<java.lang.Integer> getPersistentStateChecksum()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-