Class MultiSourceSingleFileReplicationInBatchContext
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.ReplicationInContext
com.gigaspaces.internal.cluster.node.impl.AbstractReplicationInBatchContext
com.gigaspaces.internal.cluster.node.impl.processlog.multisourcesinglefile.MultiSourceSingleFileReplicationInBatchContext
- All Implemented Interfaces:
IReplicationInBatchContext,IReplicationInContext
public class MultiSourceSingleFileReplicationInBatchContext
extends AbstractReplicationInBatchContext
- Since:
- 8.0.4
- Author:
- idan, eitan
-
Constructor Summary
ConstructorsConstructorDescriptionMultiSourceSingleFileReplicationInBatchContext(IPacketConsumedCallback packetConsumedCallback, org.slf4j.Logger contextLogger, int entireBatchSize, IReplicationParticipantsMediator participantsMediator, String sourceLookupName, String groupName) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidafterBatchConsumed(long lastProcessedKeyInBatch) booleanvoidrollback()Methods inherited from class com.gigaspaces.internal.cluster.node.impl.AbstractReplicationInBatchContext
addPendingContext, currentConsumed, getCurrentKey, getEntireBatchSize, getPendingContext, getTagObject, pendingConsumed, setCurrentKey, setTagObject, snapshotMethods inherited from class com.gigaspaces.internal.cluster.node.impl.ReplicationInContext
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setContextPacket, setLastProcessedKey, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidationMethods 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.IReplicationInContext
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidation
-
Constructor Details
-
MultiSourceSingleFileReplicationInBatchContext
public MultiSourceSingleFileReplicationInBatchContext(IPacketConsumedCallback packetConsumedCallback, org.slf4j.Logger contextLogger, int entireBatchSize, IReplicationParticipantsMediator participantsMediator, String sourceLookupName, String groupName)
-
-
Method Details
-
addBeingConsumedPacket
-
afterBatchConsumed
protected void afterBatchConsumed(long lastProcessedKeyInBatch) - Specified by:
afterBatchConsumedin classAbstractReplicationInBatchContext
-
rollback
public void rollback()- Overrides:
rollbackin classAbstractReplicationInBatchContext
-
isBatchContext
public boolean isBatchContext()- Specified by:
isBatchContextin interfaceIReplicationInContext- Overrides:
isBatchContextin classAbstractReplicationInBatchContext
-
getBeingConsumedPackets
-