public class MultiSourceSingleFileReplicationInBatchContext extends AbstractReplicationInBatchContext
Constructor and Description |
---|
MultiSourceSingleFileReplicationInBatchContext(IPacketConsumedCallback packetConsumedCallback,
Logger contextLogger,
int entireBatchSize,
IReplicationParticipantsMediator participantsMediator,
String sourceLookupName,
String groupName) |
Modifier and Type | Method and Description |
---|---|
void |
addBeingConsumedPacket(MultiSourceProcessLogPacket packet) |
protected void |
afterBatchConsumed(long lastProcessedKeyInBatch) |
List<MultiSourceProcessLogPacket> |
getBeingConsumedPackets() |
boolean |
isBatchContext() |
void |
rollback() |
addPendingContext, currentConsumed, getCurrentKey, getEntireBatchSize, getPendingContext, getTagObject, pendingConsumed, setCurrentKey, setTagObject, snapshot
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setContextPacket, setLastProcessedKey, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidation
public MultiSourceSingleFileReplicationInBatchContext(IPacketConsumedCallback packetConsumedCallback, Logger contextLogger, int entireBatchSize, IReplicationParticipantsMediator participantsMediator, String sourceLookupName, String groupName)
public void addBeingConsumedPacket(MultiSourceProcessLogPacket packet)
protected void afterBatchConsumed(long lastProcessedKeyInBatch)
afterBatchConsumed
in class AbstractReplicationInBatchContext
public void rollback()
rollback
in class AbstractReplicationInBatchContext
public boolean isBatchContext()
isBatchContext
in interface IReplicationInContext
isBatchContext
in class AbstractReplicationInBatchContext
public List<MultiSourceProcessLogPacket> getBeingConsumedPackets()
Copyright © GigaSpaces.