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 |
clearFifoBatchesHandler() |
void |
clearStaleReplicas(long expirationTime) |
void |
close() |
String |
dumpState() |
DirectPersistencyBackupSyncIteratorHandler |
getDirectPersistencyBackupSyncIteratorHandler() |
SpaceReplicaFifoBatchesHandler |
getFifoBatchesHandler() |
IReplicationGroupBacklog |
getGroupBacklogByRequestContext(Object requestContext) |
Collection<ISpaceReplicaData> |
getNextReplicaBatch(Object context,
int batchSize) |
void |
initFifoBatchesHandler() |
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)
public SpaceReplicaFifoBatchesHandler getFifoBatchesHandler()
public void initFifoBatchesHandler()
public void clearFifoBatchesHandler()
Copyright © GigaSpaces.