public class SingleBucketOrderedPacket extends AbstractSingleBucketOrderedPacket
Constructor and Description |
---|
SingleBucketOrderedPacket() |
SingleBucketOrderedPacket(long globalKey,
long bucketKey,
short bucketIndex,
IReplicationPacketData<?> data) |
Modifier and Type | Method and Description |
---|---|
SingleBucketOrderedPacket |
clone() |
SingleBucketOrderedPacket |
cloneWithNewData(IReplicationPacketData<?> newData)
Clones the packet replacing its data with the new data
|
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) |
DiscardedSingleBucketOrderedPacket |
replaceWithDiscarded() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
associateToBuckets, bucketCount, equals, getBucketIndex, getBucketKey, getBucketKey, getBuckets, getConsumeState, getEndKey, getKey, getReliableAsyncBeforeFilterPacket, hashCode, processResult, reliableAsyncKeysUpdate, setConsumed, setReliableAsyncBeforeFilterPacket, toString
public SingleBucketOrderedPacket()
public SingleBucketOrderedPacket(long globalKey, long bucketKey, short bucketIndex, IReplicationPacketData<?> data)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractSingleBucketOrderedPacket
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractSingleBucketOrderedPacket
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractSingleBucketOrderedPacket
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractSingleBucketOrderedPacket
IOException
ClassNotFoundException
public IReplicationPacketData<?> getData()
public boolean isDataPacket()
public boolean isDiscardedPacket()
public MultiBucketSingleFileProcessResult process(String sourceLookupName, IMultiBucketSingleFileProcessLog processLog, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext context, int segmentIndex)
public DiscardedSingleBucketOrderedPacket replaceWithDiscarded()
public SingleBucketOrderedPacket clone()
clone
in interface IMultiBucketSingleFileReplicationOrderedPacket
clone
in interface ISingleBucketReplicationOrderedPacket
clone
in interface IReplicationOrderedPacket
clone
in class AbstractSingleBucketOrderedPacket
public SingleBucketOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacket
Copyright © GigaSpaces.