public class GlobalOrderReliableAsyncTargetKeeperProcessLog extends GlobalOrderTargetProcessLog implements IReplicationReliableAsyncKeeperTargetProcessLog
GlobalOrderTargetProcessLog.SharedOrderedPacketComparator
_lastProcessedKey, _lifeCycleLock, _lock
_dataConsumer, _specificLogger
Constructor and Description |
---|
GlobalOrderReliableAsyncTargetKeeperProcessLog(GlobalOrderProcessLogConfig processLogConfig,
IReplicationPacketDataConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
boolean oneWayMode,
IReplicationGroupHistory groupHistory,
IReplicationReliableAsyncMediator mediator) |
GlobalOrderReliableAsyncTargetKeeperProcessLog(GlobalOrderProcessLogConfig processLogConfig,
IReplicationPacketDataConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
long lastProcessedKey,
boolean isFirstHandshake,
boolean oneWayMode,
IReplicationGroupHistory groupHistory,
IReplicationReliableAsyncMediator mediator) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSuccessfulConsumption(String sourceLookupName,
IReplicationOrderedPacket packet) |
protected boolean |
canResetState() |
protected boolean |
contentRequiredWhileProcessing() |
ReplicationInContext |
createReplicationInContext() |
IReplicationReliableAsyncMediator |
getMediator() |
protected IReliableAsyncState |
getReliableAsyncStateFromHandshakeRequest(IBacklogHandshakeRequest handshakeRequest) |
ReplicationInContext |
getReplicationInContext() |
GlobalOrderProcessLogHandshakeResponse |
performHandshake(String memberName,
IBacklogHandshakeRequest handshakeRequest) |
void |
processHandshakeIteration(String sourceMemberName,
IHandshakeIteration handshakeIteration) |
protected boolean |
shouldCloneOnFilter() |
dumpStateExtra, onClose, process, processBatch, processPackets
close, dumpState, filterDuplicate, filterDuplicate, getLastProcessedKey, isClosed, isFirstHandshakeForTarget, isOpen, logDeletion, processIdleStateData, resync, throwClosedException, toWireForm
getDataConsumer, getExceptionHandler, getGroupHistory, getGroupName, getLogLevel, getReplicationInFacade, getSourceLookupName, throwIfRepetitiveError, toLogMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, dumpState, getDataConsumer, processIdleStateData, resync, toLogMessage, toWireForm
public GlobalOrderReliableAsyncTargetKeeperProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, boolean oneWayMode, IReplicationGroupHistory groupHistory, IReplicationReliableAsyncMediator mediator)
public GlobalOrderReliableAsyncTargetKeeperProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, long lastProcessedKey, boolean isFirstHandshake, boolean oneWayMode, IReplicationGroupHistory groupHistory, IReplicationReliableAsyncMediator mediator)
public ReplicationInContext createReplicationInContext()
createReplicationInContext
in class AbstractSingleFileTargetProcessLog
public ReplicationInContext getReplicationInContext()
getReplicationInContext
in class AbstractSingleFileTargetProcessLog
protected boolean contentRequiredWhileProcessing()
contentRequiredWhileProcessing
in class GlobalOrderTargetProcessLog
public IReplicationReliableAsyncMediator getMediator()
getMediator
in interface IReplicationReliableAsyncKeeperTargetProcessLog
protected boolean shouldCloneOnFilter()
shouldCloneOnFilter
in class GlobalOrderTargetProcessLog
protected void afterSuccessfulConsumption(String sourceLookupName, IReplicationOrderedPacket packet)
afterSuccessfulConsumption
in class GlobalOrderTargetProcessLog
public void processHandshakeIteration(String sourceMemberName, IHandshakeIteration handshakeIteration)
processHandshakeIteration
in interface IReplicationTargetProcessLog
processHandshakeIteration
in class AbstractGlobalOrderTargetProcessLog
public GlobalOrderProcessLogHandshakeResponse performHandshake(String memberName, IBacklogHandshakeRequest handshakeRequest) throws IncomingReplicationOutOfSyncException
performHandshake
in interface IReplicationTargetProcessLog
performHandshake
in class AbstractGlobalOrderTargetProcessLog
IncomingReplicationOutOfSyncException
protected IReliableAsyncState getReliableAsyncStateFromHandshakeRequest(IBacklogHandshakeRequest handshakeRequest)
protected boolean canResetState()
canResetState
in class AbstractGlobalOrderTargetProcessLog
Copyright © GigaSpaces.