public class ProcessLogBucket extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessLogBucket.MultiBucketSingleFileOrderedPacketComperator |
| Constructor and Description |
|---|
ProcessLogBucket(short bucketIndex,
AbstractMultiBucketSingleFileTargetProcessLog processLog) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(List<IMultiBucketSingleFileReplicationOrderedPacket> packets) |
MultiBucketSingleFileProcessResult |
addAndProcess(String sourceLookupName,
IMultiBucketSingleFileReplicationOrderedPacket packet,
IReplicationInFilterCallback inFilterCallback,
ParallelBatchProcessingContext batchContext,
int segmentIndex) |
boolean |
close(long time,
TimeUnit unit) |
protected boolean |
filterDuplicate(IMultiBucketSingleFileReplicationOrderedPacket packet) |
String |
printPendingState() |
Throwable |
process(String sourceLookupName,
List<IMultiBucketSingleFileReplicationOrderedPacket> bucketPackets,
IReplicationInFilterCallback inFilterCallback) |
void |
releaseOnErrorResult(Throwable error) |
void |
signalDoneProcessing(String sourceLookupName,
MultipleBucketOrderedPacket packet,
IReplicationInFilterCallback inFilterCallback) |
public ProcessLogBucket(short bucketIndex,
AbstractMultiBucketSingleFileTargetProcessLog processLog)
public void releaseOnErrorResult(Throwable error)
public MultiBucketSingleFileProcessResult addAndProcess(String sourceLookupName, IMultiBucketSingleFileReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext batchContext, int segmentIndex) throws Throwable
Throwablepublic void signalDoneProcessing(String sourceLookupName, MultipleBucketOrderedPacket packet, IReplicationInFilterCallback inFilterCallback)
public void add(List<IMultiBucketSingleFileReplicationOrderedPacket> packets)
public Throwable process(String sourceLookupName, List<IMultiBucketSingleFileReplicationOrderedPacket> bucketPackets, IReplicationInFilterCallback inFilterCallback) throws Throwable
Throwablepublic String printPendingState()
protected boolean filterDuplicate(IMultiBucketSingleFileReplicationOrderedPacket packet)
public boolean close(long time,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © GigaSpaces.