public class GlobalOrderTargetProcessLog extends AbstractGlobalOrderTargetProcessLog implements IReplicationSyncTargetProcessLog, IReplicationAsyncTargetProcessLog
Modifier and Type | Class and Description |
---|---|
static class |
GlobalOrderTargetProcessLog.SharedOrderedPacketComparator |
_lastProcessedKey, _lifeCycleLock, _lock
_dataConsumer, _specificLogger
Constructor and Description |
---|
GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig,
IReplicationPacketDataConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
boolean oneWayProcessing,
IReplicationGroupHistory groupHistory) |
GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig,
IReplicationPacketDataConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
long lastProcessedKey,
boolean isFirstHandshake,
boolean oneWayProcessing,
IReplicationGroupHistory groupHistory) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSuccessfulConsumption(String sourceLookupName,
IReplicationOrderedPacket packet) |
protected boolean |
contentRequiredWhileProcessing() |
protected String |
dumpStateExtra() |
protected void |
onClose() |
GlobalOrderProcessResult |
process(String sourceLookupName,
IReplicationOrderedPacket packet,
IReplicationInFilterCallback inFilterCallback) |
GlobalOrderProcessResult |
processBatch(String sourceLookupName,
List<IReplicationOrderedPacket> packets,
IReplicationInFilterCallback filterInCallback) |
protected boolean |
processPackets(String sourceLookupName,
long myLastKey,
IReplicationInFilterCallback filterInCallback) |
protected boolean |
shouldCloneOnFilter() |
canResetState, close, dumpState, filterDuplicate, filterDuplicate, getLastProcessedKey, isClosed, isFirstHandshakeForTarget, isOpen, logDeletion, performHandshake, processHandshakeIteration, processIdleStateData, resync, throwClosedException, toWireForm
createReplicationInContext, getDataConsumer, getExceptionHandler, getGroupHistory, getGroupName, getLogLevel, getReplicationInContext, getReplicationInFacade, getSourceLookupName, throwIfRepetitiveError, toLogMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, dumpState, getDataConsumer, performHandshake, processHandshakeIteration, processIdleStateData, resync, toLogMessage, toWireForm
public GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, boolean oneWayProcessing, IReplicationGroupHistory groupHistory)
public GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, long lastProcessedKey, boolean isFirstHandshake, boolean oneWayProcessing, IReplicationGroupHistory groupHistory)
protected boolean contentRequiredWhileProcessing()
contentRequiredWhileProcessing
in class AbstractSingleFileTargetProcessLog
public GlobalOrderProcessResult processBatch(String sourceLookupName, List<IReplicationOrderedPacket> packets, IReplicationInFilterCallback filterInCallback)
processBatch
in interface IReplicationTargetProcessLog
public GlobalOrderProcessResult process(String sourceLookupName, IReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback)
process
in interface IReplicationTargetProcessLog
protected boolean processPackets(String sourceLookupName, long myLastKey, IReplicationInFilterCallback filterInCallback) throws Exception
Exception
protected void afterSuccessfulConsumption(String sourceLookupName, IReplicationOrderedPacket packet)
protected boolean shouldCloneOnFilter()
protected String dumpStateExtra()
dumpStateExtra
in class AbstractGlobalOrderTargetProcessLog
protected void onClose()
onClose
in class AbstractGlobalOrderTargetProcessLog
Copyright © GigaSpaces.