public class MultiBucketSingleFileReplicationInBatchContext extends ReplicationInContext implements IReplicationInBatchContext
| Constructor and Description | 
|---|
| MultiBucketSingleFileReplicationInBatchContext(IBatchExecutedCallback batchExecutedCallback,
                                              String sourceLookupName,
                                              String groupName,
                                              Logger contextLogger,
                                              int entireBatchSize) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> void | addPendingContext(T operationContext) | 
| void | currentConsumed() | 
| int | getEntireBatchSize() | 
| <T> List<T> | getPendingContext() | 
| <T> T | getTagObject() | 
| boolean | isBatchContext() | 
| void | pendingConsumed()Should be called once all the pending operation that are kept in the context are consumed and
 considered successfully replicated. | 
| void | rollback() | 
| void | setCurrentPacket(IMultiBucketSingleFileReplicationOrderedPacket packet) | 
| <T> void | setTagObject(T tagObject) | 
| void | snapshot() | 
| void | updatePendingProcessedKeys() | 
getContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setContextPacket, setLastProcessedKey, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentContext, getContextLogger, getContextMarker, getGroupName, getLastProcessedKey, getReplicationBlobstoreBulkContext, getSourceLookupName, setReplicationBlobstoreBulkContext, supportsDistributedTransactionConsolidationpublic MultiBucketSingleFileReplicationInBatchContext(IBatchExecutedCallback batchExecutedCallback, String sourceLookupName, String groupName, Logger contextLogger, int entireBatchSize)
public void pendingConsumed()
IReplicationInBatchContextpendingConsumed in interface IReplicationInBatchContextpublic <T> void addPendingContext(T operationContext)
addPendingContext in interface IReplicationInBatchContextpublic void updatePendingProcessedKeys()
public <T> List<T> getPendingContext()
getPendingContext in interface IReplicationInBatchContextpublic void setCurrentPacket(IMultiBucketSingleFileReplicationOrderedPacket packet)
public void currentConsumed()
currentConsumed in interface IReplicationInBatchContextpublic <T> void setTagObject(T tagObject)
setTagObject in interface IReplicationInBatchContextpublic <T> T getTagObject()
getTagObject in interface IReplicationInBatchContextpublic int getEntireBatchSize()
getEntireBatchSize in interface IReplicationInBatchContextpublic void snapshot()
public void rollback()
public boolean isBatchContext()
isBatchContext in interface IReplicationInContextisBatchContext in class ReplicationInContextCopyright © GigaSpaces.