Class GlobalOrderTargetProcessLog
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.processlog.AbstractSingleFileTargetProcessLog
com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.AbstractGlobalOrderTargetProcessLog
com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.GlobalOrderTargetProcessLog
- All Implemented Interfaces:
IReplicationAsyncTargetProcessLog,IReplicationTargetProcessLog,IReplicationSyncTargetProcessLog
- Direct Known Subclasses:
GlobalOrderReliableAsyncTargetKeeperProcessLog
public class GlobalOrderTargetProcessLog
extends AbstractGlobalOrderTargetProcessLog
implements IReplicationSyncTargetProcessLog, IReplicationAsyncTargetProcessLog
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.AbstractGlobalOrderTargetProcessLog
_lastProcessedKey, _lifeCycleLock, _lockFields inherited from class com.gigaspaces.internal.cluster.node.impl.processlog.AbstractSingleFileTargetProcessLog
_dataConsumer, _specificLogger -
Constructor Summary
ConstructorsConstructorDescriptionGlobalOrderTargetProcessLog(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterSuccessfulConsumption(String sourceLookupName, IReplicationOrderedPacket packet) protected booleanprotected Stringprotected voidonClose()process(String sourceLookupName, IReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback) processBatch(String sourceLookupName, List<IReplicationOrderedPacket> packets, IReplicationInFilterCallback filterInCallback) protected booleanprocessPackets(String sourceLookupName, long myLastKey, IReplicationInFilterCallback filterInCallback) protected booleanMethods inherited from class com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.AbstractGlobalOrderTargetProcessLog
canResetState, close, dumpState, filterDuplicate, filterDuplicate, getLastProcessedKey, isClosed, isFirstHandshakeForTarget, isOpen, logDeletion, performHandshake, processHandshakeIteration, processIdleStateData, resync, throwClosedException, toWireFormMethods inherited from class com.gigaspaces.internal.cluster.node.impl.processlog.AbstractSingleFileTargetProcessLog
createReplicationInContext, getDataConsumer, getExceptionHandler, getGroupHistory, getGroupName, getReplicationInContext, getReplicationInFacade, getSourceLookupName, throwIfRepetitiveError, toLogMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.cluster.node.impl.processlog.IReplicationTargetProcessLog
close, dumpState, getDataConsumer, performHandshake, processHandshakeIteration, processIdleStateData, resync, toLogMessage, toWireForm
-
Constructor Details
-
GlobalOrderTargetProcessLog
public GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, boolean oneWayProcessing, IReplicationGroupHistory groupHistory) -
GlobalOrderTargetProcessLog
public GlobalOrderTargetProcessLog(GlobalOrderProcessLogConfig processLogConfig, IReplicationPacketDataConsumer<?> dataConsumer, IReplicationProcessLogExceptionHandler exceptionHandler, IReplicationInFacade replicationInFacade, String name, String groupName, String sourceLookupName, long lastProcessedKey, boolean isFirstHandshake, boolean oneWayProcessing, IReplicationGroupHistory groupHistory)
-
-
Method Details
-
contentRequiredWhileProcessing
protected boolean contentRequiredWhileProcessing()- Specified by:
contentRequiredWhileProcessingin classAbstractSingleFileTargetProcessLog
-
processBatch
public GlobalOrderProcessResult processBatch(String sourceLookupName, List<IReplicationOrderedPacket> packets, IReplicationInFilterCallback filterInCallback) - Specified by:
processBatchin interfaceIReplicationTargetProcessLog
-
process
public GlobalOrderProcessResult process(String sourceLookupName, IReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback) - Specified by:
processin interfaceIReplicationTargetProcessLog
-
processPackets
protected boolean processPackets(String sourceLookupName, long myLastKey, IReplicationInFilterCallback filterInCallback) throws Exception - Throws:
Exception
-
afterSuccessfulConsumption
protected void afterSuccessfulConsumption(String sourceLookupName, IReplicationOrderedPacket packet) -
shouldCloneOnFilter
protected boolean shouldCloneOnFilter() -
dumpStateExtra
- Overrides:
dumpStateExtrain classAbstractGlobalOrderTargetProcessLog
-
onClose
protected void onClose()- Specified by:
onClosein classAbstractGlobalOrderTargetProcessLog
-