public class MultipleBucketOrderedPacket extends AbstractMultiBucketOrderedPacket
Constructor and Description |
---|
MultipleBucketOrderedPacket() |
MultipleBucketOrderedPacket(long globalKey,
ShortObjectMap<BucketKey> bucketsKeys,
IReplicationPacketData<?> data) |
Modifier and Type | Method and Description |
---|---|
MultipleBucketOrderedPacket |
clone() |
MultipleBucketOrderedPacket |
cloneWithNewData(IReplicationPacketData<?> newData)
Clones the packet replacing its data with the new data
|
PacketConsumeState |
getConsumeState(short bucketIndex) |
IReplicationPacketData<?> |
getData() |
boolean |
isDataPacket() |
boolean |
isDiscardedPacket() |
MultiBucketSingleFileProcessResult |
process(String sourceLookupName,
IMultiBucketSingleFileProcessLog processLog,
IReplicationInFilterCallback inFilterCallback,
ParallelBatchProcessingContext context,
int segmentIndex) |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
AbstractMultiBucketOrderedPacket |
replaceWithDiscarded() |
boolean |
setConsumed() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
associateToBuckets, bucketCount, equals, getBucketKey, getBuckets, getBucketsKeys, getEndKey, getKey, getReliableAsyncBeforeFilterPacket, getWeight, hashCode, processResult, readBucketKeys, reliableAsyncKeysUpdate, setReliableAsyncBeforeFilterPacket, toString, writeBucketKeys
finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public MultipleBucketOrderedPacket()
public MultipleBucketOrderedPacket(long globalKey, ShortObjectMap<BucketKey> bucketsKeys, IReplicationPacketData<?> data)
public IReplicationPacketData<?> getData()
public boolean isDataPacket()
public boolean isDiscardedPacket()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractMultiBucketOrderedPacket
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractMultiBucketOrderedPacket
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractMultiBucketOrderedPacket
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractMultiBucketOrderedPacket
IOException
ClassNotFoundException
public MultiBucketSingleFileProcessResult process(String sourceLookupName, IMultiBucketSingleFileProcessLog processLog, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext context, int segmentIndex)
public MultipleBucketOrderedPacket clone()
clone
in interface IMultiBucketSingleFileReplicationOrderedPacket
clone
in interface IReplicationOrderedPacket
clone
in class AbstractMultiBucketOrderedPacket
public MultipleBucketOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacket
public PacketConsumeState getConsumeState(short bucketIndex)
public boolean setConsumed()
public AbstractMultiBucketOrderedPacket replaceWithDiscarded()
Copyright © GigaSpaces.