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() |
int |
getWeight() |
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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic SingleBucketOrderedPacket()
public SingleBucketOrderedPacket(long globalKey,
long bucketKey,
short bucketIndex,
IReplicationPacketData<?> data)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractSingleBucketOrderedPacketIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizablewriteToSwap in class AbstractSingleBucketOrderedPacketIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractSingleBucketOrderedPacketIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizablereadFromSwap in class AbstractSingleBucketOrderedPacketIOExceptionClassNotFoundExceptionpublic 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 IMultiBucketSingleFileReplicationOrderedPacketclone in interface ISingleBucketReplicationOrderedPacketclone in interface IReplicationOrderedPacketclone in class AbstractSingleBucketOrderedPacketpublic SingleBucketOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacketpublic int getWeight()
getWeight in interface IReplicationOrderedPacketgetWeight in class AbstractSingleBucketOrderedPacketCopyright © GigaSpaces.