public class ClientCollectionConfiguration extends Object
| Constructor and Description |
|---|
ClientCollectionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CacheAtomicityMode |
getAtomicityMode() |
int |
getBackups() |
CacheMode |
getCacheMode() |
String |
getGroupName() |
boolean |
isColocated() |
ClientCollectionConfiguration |
setAtomicityMode(CacheAtomicityMode atomicityMode) |
ClientCollectionConfiguration |
setBackups(int backups) |
ClientCollectionConfiguration |
setCacheMode(CacheMode cacheMode) |
ClientCollectionConfiguration |
setColocated(boolean colocated) |
ClientCollectionConfiguration |
setGroupName(String grpName) |
String |
toString() |
public boolean isColocated()
True if all items within the same collection will be collocated on the same node.public ClientCollectionConfiguration setColocated(boolean colocated)
colocated - If true then all items within the same collection will be collocated on the same node.
Otherwise elements of the same set maybe be cached on different nodes. This parameter works only
collections stored in CacheMode.PARTITIONED cache.this for chaining.public CacheAtomicityMode getAtomicityMode()
public ClientCollectionConfiguration setAtomicityMode(CacheAtomicityMode atomicityMode)
atomicityMode - Cache atomicity mode.this for chaining.public CacheMode getCacheMode()
public ClientCollectionConfiguration setCacheMode(CacheMode cacheMode)
cacheMode - Cache mode.this for chaining.public int getBackups()
public ClientCollectionConfiguration setBackups(int backups)
backups - Cache number of backups.this for chaining.public String getGroupName()
public ClientCollectionConfiguration setGroupName(String grpName)
grpName - Group name.this for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025