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 AbstractReplicationInBatchContext
addPendingContext, currentConsumed, getCurrentKey, getEntireBatchSize, getPendingContext, getTagObject, pendingConsumed, setCurrentKey, setTagObject, snapshotMethods inherited from class ReplicationInContext
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setContextPacket, setLastProcessedKey, 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
-