Class ProcessLogBucket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.processlog.multibucketsinglefile.ProcessLogBucket
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionProcessLogBucket(short bucketIndex, AbstractMultiBucketSingleFileTargetProcessLog processLog) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndProcess(String sourceLookupName, IMultiBucketSingleFileReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext batchContext, int segmentIndex) booleanprotected booleanprocess(String sourceLookupName, List<IMultiBucketSingleFileReplicationOrderedPacket> bucketPackets, IReplicationInFilterCallback inFilterCallback) voidreleaseOnErrorResult(Throwable error) voidsignalDoneProcessing(String sourceLookupName, MultipleBucketOrderedPacket packet, IReplicationInFilterCallback inFilterCallback)
-
Constructor Details
-
ProcessLogBucket
public ProcessLogBucket(short bucketIndex, AbstractMultiBucketSingleFileTargetProcessLog processLog)
-
-
Method Details
-
releaseOnErrorResult
-
addAndProcess
public MultiBucketSingleFileProcessResult addAndProcess(String sourceLookupName, IMultiBucketSingleFileReplicationOrderedPacket packet, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext batchContext, int segmentIndex) throws Throwable - Throws:
Throwable
-
signalDoneProcessing
public void signalDoneProcessing(String sourceLookupName, MultipleBucketOrderedPacket packet, IReplicationInFilterCallback inFilterCallback) -
add
-
process
public Throwable process(String sourceLookupName, List<IMultiBucketSingleFileReplicationOrderedPacket> bucketPackets, IReplicationInFilterCallback inFilterCallback) throws Throwable - Throws:
Throwable
-
printPendingState
-
filterDuplicate
-
close
- Throws:
InterruptedException
-