public interface GridCacheDrManager<K,V> extends GridCacheManager<K,V>
| Modifier and Type | Method and Description |
|---|---|
int |
backupQueueSize() |
int |
batchWaitingAcknowledgeCount() |
int |
batchWaitingSendCount() |
void |
beforeExchange(long topVer,
boolean left)
Process partitions "before exchange" event.
|
GridDrStatus |
drPauseState()
Get DR pause state.
|
Collection<GridDrStateTransferDescriptor> |
listStateTransfers()
List currently active state transfers.
|
void |
partitionEvicted(int part)
In case some partition is evicted, we remove entries of this partition from backup queue.
|
void |
pause()
Pauses data center replication.
|
int |
queuedKeysCount() |
void |
replicate(GridDrRawEntry<K,V> entry,
GridDrType drType)
Perform replication.
|
void |
resume()
Resumes data center replication.
|
int |
senderHubsCount() |
GridFuture<?> |
stateTransfer(Collection<Byte> dataCenterIds)
Initiate state transfer.
|
onKernalStart, onKernalStop, printMemoryStats, start, stopvoid replicate(GridDrRawEntry<K,V> entry, GridDrType drType)
entry - Replication entry.drType - Replication type.void beforeExchange(long topVer,
boolean left)
throws GridException
topVer - Topology version.left - True if exchange has been caused by node leave.GridException - If failed.void partitionEvicted(int part)
part - Partition.GridFuture<?> stateTransfer(Collection<Byte> dataCenterIds)
dataCenterIds - Target data center IDs.Collection<GridDrStateTransferDescriptor> listStateTransfers() throws GridException
GridException - If failed.void pause()
throws GridException
GridException - If failed.void resume()
throws GridException
GridException - If failed.GridDrStatus drPauseState()
int queuedKeysCount()
int backupQueueSize()
int batchWaitingSendCount()
int batchWaitingAcknowledgeCount()
int senderHubsCount()
Copyright © 2014. All rights reserved.