public class GlobalOrderBatchConsumeTargetProcessLog extends AbstractGlobalOrderTargetProcessLog implements IReplicationBatchConsumeAsyncTargetProcessLog, IBatchExecutedCallback
_lastProcessedKey, _lifeCycleLock, _lock
_dataConsumer, _specificLogger
Modifier | Constructor and Description |
---|---|
|
GlobalOrderBatchConsumeTargetProcessLog(IReplicationPacketDataBatchConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
IReplicationGroupHistory groupHistory) |
protected |
GlobalOrderBatchConsumeTargetProcessLog(IReplicationPacketDataBatchConsumer<?> dataConsumer,
IReplicationProcessLogExceptionHandler exceptionHandler,
IReplicationInFacade replicationInFacade,
String name,
String groupName,
String sourceLookupName,
long lastProcessedKey,
boolean firstHandshakeForTarget,
IReplicationGroupHistory groupHistory) |
Modifier and Type | Method and Description |
---|---|
void |
batchConsumed(long lastProcessKeyInBatch) |
protected boolean |
contentRequiredWhileProcessing() |
protected void |
onClose() |
IProcessResult |
process(String sourceLookupName,
IReplicationOrderedPacket packet,
IReplicationInFilterCallback inFilterCallback) |
GlobalOrderProcessResult |
processBatch(String sourceLookupName,
List<IReplicationOrderedPacket> packets,
IReplicationInFilterCallback inFilterCallback) |
canResetState, close, dumpState, dumpStateExtra, 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
protected GlobalOrderBatchConsumeTargetProcessLog(IReplicationPacketDataBatchConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, long lastProcessedKey, boolean firstHandshakeForTarget, IReplicationGroupHistory groupHistory)
public GlobalOrderBatchConsumeTargetProcessLog(IReplicationPacketDataBatchConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, IReplicationGroupHistory groupHistory)
protected boolean contentRequiredWhileProcessing()
contentRequiredWhileProcessing
in class AbstractSingleFileTargetProcessLog
protected void onClose()
onClose
in class AbstractGlobalOrderTargetProcessLog
public GlobalOrderProcessResult processBatch(String sourceLookupName, List<IReplicationOrderedPacket> packets, IReplicationInFilterCallback inFilterCallback)
processBatch
in interface IReplicationTargetProcessLog
public IProcessResult process(String sourceLookupName, IReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback)
process
in interface IReplicationTargetProcessLog
public void batchConsumed(long lastProcessKeyInBatch)
batchConsumed
in interface IBatchExecutedCallback
Copyright © GigaSpaces.