public abstract class AbstractSingleBucketOrderedPacket extends Object implements ISingleBucketReplicationOrderedPacket
| Constructor and Description |
|---|
AbstractSingleBucketOrderedPacket() |
AbstractSingleBucketOrderedPacket(long globalKey,
long bucketKey,
short bucketIndex) |
finalize, getClass, notify, notifyAll, wait, wait, waitcloneWithNewData, process, replaceWithDiscardedgetData, isDataPacket, isDiscardedPacketenabledSmartExternalizableWithReferencepublic AbstractSingleBucketOrderedPacket()
public AbstractSingleBucketOrderedPacket(long globalKey,
long bucketKey,
short bucketIndex)
public long getKey()
getKey in interface IReplicationOrderedPacketpublic long getEndKey()
IReplicationOrderedPacketgetEndKey in interface IReplicationOrderedPacketpublic long getBucketKey(short bucketIndex)
getBucketKey in interface IMultiBucketSingleFileReplicationOrderedPacketpublic short[] getBuckets()
getBuckets in interface IMultiBucketSingleFileReplicationOrderedPacketpublic PacketConsumeState getConsumeState(short bucketIndex)
getConsumeState in interface IMultiBucketSingleFileReplicationOrderedPacketpublic boolean setConsumed()
setConsumed in interface IMultiBucketSingleFileReplicationOrderedPacketpublic short getBucketIndex()
getBucketIndex in interface ISingleBucketReplicationOrderedPacketpublic long getBucketKey()
getBucketKey in interface ISingleBucketReplicationOrderedPacketpublic short bucketCount()
bucketCount in interface IMultiBucketSingleFileReplicationOrderedPacketpublic void associateToBuckets(ShortObjectMap<List<IMultiBucketSingleFileReplicationOrderedPacket>> bucketsPackets)
associateToBuckets in interface IMultiBucketSingleFileReplicationOrderedPacketpublic long processResult(String memberName, MultiBucketSingleFileProcessResult processResult, MultiBucketSingleFileConfirmationHolder confirmationHolder)
processResult in interface IMultiBucketSingleFileReplicationOrderedPacketpublic void reliableAsyncKeysUpdate(long[] bucketLastKeys,
MultiBucketSingleFileConfirmationHolder confirmationHolder)
reliableAsyncKeysUpdate in interface IMultiBucketSingleFileReplicationOrderedPacketpublic IMultiBucketSingleFileReplicationOrderedPacket getReliableAsyncBeforeFilterPacket()
getReliableAsyncBeforeFilterPacket in interface IMultiBucketSingleFileReplicationOrderedPacketpublic void setReliableAsyncBeforeFilterPacket(IMultiBucketSingleFileReplicationOrderedPacket beforeFilterPacket)
setReliableAsyncBeforeFilterPacket in interface IMultiBucketSingleFileReplicationOrderedPacketpublic abstract AbstractSingleBucketOrderedPacket clone()
clone in interface IMultiBucketSingleFileReplicationOrderedPacketclone in interface ISingleBucketReplicationOrderedPacketclone in interface IReplicationOrderedPacketclone in class Objectpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic int getWeight()
getWeight in interface IReplicationOrderedPacketCopyright © GigaSpaces.