public class ReplicationNodeReplicaHandler extends Object
ReplicationNode
that is in charge of handling incoming replica
requestsConstructor and Description |
---|
ReplicationNodeReplicaHandler(ReplicationNode replicationNode,
ISpaceReplicaDataProducerBuilder<? extends ISpaceReplicaData> replicaDataProducerBuilder,
ISpaceCopyReplicaOutFilter outFilter) |
Modifier and Type | Method and Description |
---|---|
void |
clearStaleReplicas(long expirationTime) |
void |
close() |
String |
dumpState() |
DirectPersistencyBackupSyncIteratorHandler |
getDirectPersistencyBackupSyncIteratorHandler() |
IReplicationGroupBacklog |
getGroupBacklogByRequestContext(Object requestContext) |
Collection<ISpaceReplicaData> |
getNextReplicaBatch(Object context,
int batchSize) |
int |
newReplicaRequest(String requesterLookupName,
ReplicaRequestPacket replicaRequestPacket) |
CurrentStageInfo |
nextReplicaState(Object context) |
void |
setDirectPersistencyBackupSyncIteratorHandler(DirectPersistencyBackupSyncIteratorHandler _directPersistencyBackupSyncIteratorHandler) |
protected static final Logger _logger
public ReplicationNodeReplicaHandler(ReplicationNode replicationNode, ISpaceReplicaDataProducerBuilder<? extends ISpaceReplicaData> replicaDataProducerBuilder, ISpaceCopyReplicaOutFilter outFilter)
public int newReplicaRequest(String requesterLookupName, ReplicaRequestPacket replicaRequestPacket)
public IReplicationGroupBacklog getGroupBacklogByRequestContext(Object requestContext)
public Collection<ISpaceReplicaData> getNextReplicaBatch(Object context, int batchSize)
public CurrentStageInfo nextReplicaState(Object context)
public void clearStaleReplicas(long expirationTime)
public void close()
public String dumpState()
public DirectPersistencyBackupSyncIteratorHandler getDirectPersistencyBackupSyncIteratorHandler()
public void setDirectPersistencyBackupSyncIteratorHandler(DirectPersistencyBackupSyncIteratorHandler _directPersistencyBackupSyncIteratorHandler)
Copyright © GigaSpaces.