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 class
CacheJoinInfo.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 boolean
equals(Object obj)
CacheMode
getCacheMode()
float
getCapacityFactor()
ConsistentHashFactory
getConsistentHashFactory()
Hash
getHashFunction()
int
getNumOwners()
int
getNumSegments()
Optional<Integer>
getPersistentStateChecksum()
PersistentUUID
getPersistentUUID()
long
getTimeout()
int
hashCode()
boolean
isTotalOrder()
String
toString()
-
-
-
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()
-
-