public interface IReplicationNodeAdmin
IReplicationNode
Modifier and Type | Method and Description |
---|---|
void |
clearStaleReplicas(long expirationTime) |
String |
dumpState() |
boolean |
flushPendingReplication(long timeout,
TimeUnit units)
Attempts to flush all pending replication from the backlog The upper layer is in charge of
not inserting new data to the replication node once flush is started.
|
int |
flushRedoLogToStorage() |
IReplicationRouterAdmin |
getRouterAdmin() |
DynamicSourceGroupConfigHolder |
getSourceGroupConfigHolder(String groupName) |
ReplicationStatistics |
getStatistics() |
Object[] |
getStatus() |
void |
monitorState(OperationWeightInfo info) |
void |
setActive()
Sets the administrated
IReplicationNode as active mode (i.e containing space is not a
backup) |
void |
setNodeStateListener(IReplicationNodeStateListener listener) |
void |
setPassive(boolean closeProxy)
Sets the administrated
IReplicationNode as passive mode (i.e containing space is
backup) |
boolean flushPendingReplication(long timeout, TimeUnit units)
void monitorState(OperationWeightInfo info) throws RedoLogCapacityExceededException, ConsistencyLevelViolationException
ReplicationStatistics getStatistics()
int flushRedoLogToStorage()
Object[] getStatus()
void setNodeStateListener(IReplicationNodeStateListener listener)
void setActive()
IReplicationNode
as active mode (i.e containing space is not a
backup)void setPassive(boolean closeProxy)
IReplicationNode
as passive mode (i.e containing space is
backup)closeProxy
- - whether to close the stub proxy when it has no more references.String dumpState()
void clearStaleReplicas(long expirationTime)
IReplicationRouterAdmin getRouterAdmin()
DynamicSourceGroupConfigHolder getSourceGroupConfigHolder(String groupName)
Copyright © GigaSpaces.