Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CONCURRENT_REPLICATION_TARGETS
The default maximum number of members to which the CRDT states are
replicated in a single round.
|
static int |
DEFAULT_REPLICATION_PERIOD_MILLIS
The default period between two CRDT replication rounds.
|
Constructor and Description |
---|
CRDTReplicationConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxConcurrentReplicationTargets()
Returns the maximum number of target members that we replicate the CRDT
states to in one period.
|
int |
getReplicationPeriodMillis()
Returns the period between two replications of CRDT states in
milliseconds.
|
CRDTReplicationConfig |
setMaxConcurrentReplicationTargets(int maxConcurrentReplicationTargets)
Sets the maximum number of target members that we replicate the CRDT states
to in one period.
|
CRDTReplicationConfig |
setReplicationPeriodMillis(int replicationPeriodMillis)
Sets the period between two replications of CRDT states in milliseconds.
|
public static final int DEFAULT_REPLICATION_PERIOD_MILLIS
public static final int DEFAULT_MAX_CONCURRENT_REPLICATION_TARGETS
public int getReplicationPeriodMillis()
public CRDTReplicationConfig setReplicationPeriodMillis(int replicationPeriodMillis)
replicationPeriodMillis
- the replication periodpublic int getMaxConcurrentReplicationTargets()
public CRDTReplicationConfig setMaxConcurrentReplicationTargets(int maxConcurrentReplicationTargets)
maxConcurrentReplicationTargets
- the maximum number of replication
targets in a replication periodCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.