Class DiscardedMultiBucketOrderedPacket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.backlog.multibucketsinglefile.AbstractMultiBucketOrderedPacket
com.gigaspaces.internal.cluster.node.impl.backlog.multibucketsinglefile.DiscardedMultiBucketOrderedPacket
- All Implemented Interfaces:
IMultiBucketSingleFileReplicationOrderedPacket,IReplicationOrderedPacket,ISwapExternalizable,SmartExternalizable,Externalizable,Serializable,Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDiscardedMultiBucketOrderedPacket(long globalKey, ShortObjectMap<BucketKey> bucketsKeys) -
Method Summary
Modifier and TypeMethodDescriptionclone()cloneWithNewData(IReplicationPacketData<?> newData) Clones the packet replacing its data with the new datagetConsumeState(short bucketIndex) getData()booleanbooleanprocess(String sourceLookupName, IMultiBucketSingleFileProcessLog processLog, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext context, int segmentIndex) booleanMethods inherited from class com.gigaspaces.internal.cluster.node.impl.backlog.multibucketsinglefile.AbstractMultiBucketOrderedPacket
associateToBuckets, bucketCount, equals, getBucketKey, getBuckets, getBucketsKeys, getEndKey, getKey, getReliableAsyncBeforeFilterPacket, getWeight, hashCode, processResult, readBucketKeys, readExternal, readFromSwap, reliableAsyncKeysUpdate, setReliableAsyncBeforeFilterPacket, toString, writeBucketKeys, writeExternal, writeToSwapMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
DiscardedMultiBucketOrderedPacket
public DiscardedMultiBucketOrderedPacket() -
DiscardedMultiBucketOrderedPacket
-
-
Method Details
-
getData
- Returns:
- the actual packet data that is needed for the processing
-
isDataPacket
public boolean isDataPacket() -
isDiscardedPacket
public boolean isDiscardedPacket() -
process
public MultiBucketSingleFileProcessResult process(String sourceLookupName, IMultiBucketSingleFileProcessLog processLog, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext context, int segmentIndex) -
getConsumeState
-
setConsumed
public boolean setConsumed() -
replaceWithDiscarded
-
clone
- Specified by:
clonein interfaceIMultiBucketSingleFileReplicationOrderedPacket- Specified by:
clonein interfaceIReplicationOrderedPacket- Specified by:
clonein classAbstractMultiBucketOrderedPacket
-
cloneWithNewData
public IMultiBucketSingleFileReplicationOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData) Description copied from interface:IReplicationOrderedPacketClones the packet replacing its data with the new data
-