public interface DrSender
This interface provides methods for monitoring states of data center connections, like connection status, store overflow status, etc.
Modifier and Type | Method and Description |
---|---|
void |
clearFullStateTransferBuffer()
Clear full state transfer buffer.
|
void |
clearGlobalStore()
Clear global sender store if it is configured.
|
DrSenderConnection |
connection(byte dcId)
Get connection to remote data center with provided ID.
|
Collection<DrSenderConnection> |
connections()
Get all connections to remote data centers configured for this sender.
|
DrSenderConfiguration |
getConfiguration()
Get sender configuration.
|
boolean |
hasConnection(byte dcId)
Check whether sender has configured connection to remote data center with provided ID.
|
boolean |
isGlobalStore()
Check whether configured DR store is global and is shared between all connections.
|
void |
pause()
Pause replication to all remote DCs.
|
void |
pause(byte dcId)
Pause replication for given DC.
|
boolean |
paused(byte dcId)
Returns DC pause flag.
|
void |
resume()
Resume replication for all remote DCs.
|
void |
resume(byte dcId)
Resume replication for given DC.
|
void pause()
void resume()
void pause(byte dcId)
dcId
- Remote data center id.boolean paused(byte dcId)
dcId
- Remote data center id.true
if given DC was paused.void resume(byte dcId)
dcId
- Remote data center id.Collection<DrSenderConnection> connections()
boolean hasConnection(byte dcId)
dcId
- Data center ID.True
if connection is configured.DrSenderConnection connection(byte dcId) throws IllegalStateException
dcId
- Data center ID of requested replica.IllegalStateException
- If sender is not configured to work with remote data center with provided ID.DrSenderConfiguration getConfiguration()
boolean isGlobalStore()
True
if store is global.void clearGlobalStore()
IllegalStateException
- If global is store is not configured.void clearFullStateTransferBuffer()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024