Package org.infinispan.topology
Class CacheJoinInfo
- java.lang.Object
-
- org.infinispan.topology.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
-
-
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, Optional<Integer> persistentStateChecksum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CacheModegetCacheMode()floatgetCapacityFactor()ConsistentHashFactorygetConsistentHashFactory()HashgetHashFunction()intgetNumOwners()intgetNumSegments()Optional<Integer>getPersistentStateChecksum()PersistentUUIDgetPersistentUUID()longgetTimeout()inthashCode()booleanisTotalOrder()StringtoString()
-
-
-
Constructor Detail
-
CacheJoinInfo
public CacheJoinInfo(ConsistentHashFactory consistentHashFactory, Hash hashFunction, int numSegments, int numOwners, long timeout, boolean totalOrder, CacheMode cacheMode, float capacityFactor, PersistentUUID persistentUUID, Optional<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()
-
-