public class ClientAtomicConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DFLT_ATOMIC_SEQUENCE_RESERVE_SIZE
Default atomic sequence reservation size.
|
static int |
DFLT_BACKUPS
Default number of backups.
|
static CacheMode |
DFLT_CACHE_MODE
Cache mode.
|
Constructor and Description |
---|
ClientAtomicConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getAtomicSequenceReserveSize()
Gets default number of sequence values reserved for
IgniteAtomicSequence instances. |
int |
getBackups()
Gets the number of backup nodes.
|
CacheMode |
getCacheMode()
Gets the cache mode.
|
String |
getGroupName()
Sets the cache group name.
|
ClientAtomicConfiguration |
setAtomicSequenceReserveSize(int seqReserveSize)
Sets default number of sequence values reserved for
IgniteAtomicSequence instances. |
ClientAtomicConfiguration |
setBackups(int backups)
Sets the number of backup nodes.
|
ClientAtomicConfiguration |
setCacheMode(CacheMode cacheMode)
Sets the cache mode.
|
ClientAtomicConfiguration |
setGroupName(String grpName)
Gets the cache group name.
|
String |
toString() |
public static final int DFLT_BACKUPS
public static final CacheMode DFLT_CACHE_MODE
public static final int DFLT_ATOMIC_SEQUENCE_RESERVE_SIZE
public int getBackups()
public ClientAtomicConfiguration setBackups(int backups)
backups
- Number of backup nodes.this
for chaining.public CacheMode getCacheMode()
public ClientAtomicConfiguration setCacheMode(CacheMode cacheMode)
cacheMode
- Cache mode.this
for chaining.public int getAtomicSequenceReserveSize()
IgniteAtomicSequence
instances. After
a certain number has been reserved, consequent increments of sequence will happen locally,
without communication with other nodes, until the next reservation has to be made.
Default value is DFLT_ATOMIC_SEQUENCE_RESERVE_SIZE
.
public ClientAtomicConfiguration setAtomicSequenceReserveSize(int seqReserveSize)
IgniteAtomicSequence
instances. After a certain
number has been reserved, consequent increments of sequence will happen locally, without communication with other
nodes, until the next reservation has to be made.seqReserveSize
- Atomic sequence reservation size.this
for chaining.getAtomicSequenceReserveSize()
public String getGroupName()
public ClientAtomicConfiguration setGroupName(String grpName)
grpName
- Cache group name.this
for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024