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, toWireFormcreateReplicationInContext, getDataConsumer, getExceptionHandler, getGroupHistory, getGroupName, getReplicationInContext, getReplicationInFacade, getSourceLookupName, throwIfRepetitiveError, toLogMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, dumpState, getDataConsumer, performHandshake, processHandshakeIteration, processIdleStateData, resync, toLogMessage, toWireFormprotected 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 AbstractSingleFileTargetProcessLogprotected void onClose()
onClose in class AbstractGlobalOrderTargetProcessLogpublic GlobalOrderProcessResult processBatch(String sourceLookupName, List<IReplicationOrderedPacket> packets, IReplicationInFilterCallback inFilterCallback)
processBatch in interface IReplicationTargetProcessLogpublic IProcessResult process(String sourceLookupName, IReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback)
process in interface IReplicationTargetProcessLogpublic void batchConsumed(long lastProcessKeyInBatch)
batchConsumed in interface IBatchExecutedCallbackCopyright © GigaSpaces.