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, wait
cloneWithNewData, process, replaceWithDiscarded
getData, isDataPacket, isDiscardedPacket
public AbstractSingleBucketOrderedPacket()
public AbstractSingleBucketOrderedPacket(long globalKey, long bucketKey, short bucketIndex)
public long getKey()
getKey
in interface IReplicationOrderedPacket
public long getEndKey()
IReplicationOrderedPacket
getEndKey
in interface IReplicationOrderedPacket
public long getBucketKey(short bucketIndex)
getBucketKey
in interface IMultiBucketSingleFileReplicationOrderedPacket
public short[] getBuckets()
getBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
public PacketConsumeState getConsumeState(short bucketIndex)
getConsumeState
in interface IMultiBucketSingleFileReplicationOrderedPacket
public boolean setConsumed()
setConsumed
in interface IMultiBucketSingleFileReplicationOrderedPacket
public short getBucketIndex()
getBucketIndex
in interface ISingleBucketReplicationOrderedPacket
public long getBucketKey()
getBucketKey
in interface ISingleBucketReplicationOrderedPacket
public short bucketCount()
bucketCount
in interface IMultiBucketSingleFileReplicationOrderedPacket
public void associateToBuckets(ShortObjectMap<List<IMultiBucketSingleFileReplicationOrderedPacket>> bucketsPackets)
associateToBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
public long processResult(String memberName, MultiBucketSingleFileProcessResult processResult, MultiBucketSingleFileConfirmationHolder confirmationHolder)
processResult
in interface IMultiBucketSingleFileReplicationOrderedPacket
public void reliableAsyncKeysUpdate(long[] bucketLastKeys, MultiBucketSingleFileConfirmationHolder confirmationHolder)
reliableAsyncKeysUpdate
in interface IMultiBucketSingleFileReplicationOrderedPacket
public IMultiBucketSingleFileReplicationOrderedPacket getReliableAsyncBeforeFilterPacket()
getReliableAsyncBeforeFilterPacket
in interface IMultiBucketSingleFileReplicationOrderedPacket
public void setReliableAsyncBeforeFilterPacket(IMultiBucketSingleFileReplicationOrderedPacket beforeFilterPacket)
setReliableAsyncBeforeFilterPacket
in interface IMultiBucketSingleFileReplicationOrderedPacket
public abstract AbstractSingleBucketOrderedPacket clone()
clone
in interface IMultiBucketSingleFileReplicationOrderedPacket
clone
in interface ISingleBucketReplicationOrderedPacket
clone
in interface IReplicationOrderedPacket
clone
in class Object
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.