public abstract class AbstractMultiBucketOrderedPacket extends Object implements IMultiBucketSingleFileReplicationOrderedPacket
Constructor and Description |
---|
AbstractMultiBucketOrderedPacket() |
AbstractMultiBucketOrderedPacket(long globalKey,
ShortObjectMap<BucketKey> bucketsKeys) |
finalize, getClass, notify, notifyAll, wait, wait, wait
cloneWithNewData, getConsumeState, process, replaceWithDiscarded, setConsumed
getData, isDataPacket, isDiscardedPacket
public AbstractMultiBucketOrderedPacket()
public AbstractMultiBucketOrderedPacket(long globalKey, ShortObjectMap<BucketKey> bucketsKeys)
public long getBucketKey(short bucketIndex)
getBucketKey
in interface IMultiBucketSingleFileReplicationOrderedPacket
public ShortObjectMap<BucketKey> getBucketsKeys()
public short[] getBuckets()
getBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
public short bucketCount()
bucketCount
in interface IMultiBucketSingleFileReplicationOrderedPacket
public void associateToBuckets(ShortObjectMap<List<IMultiBucketSingleFileReplicationOrderedPacket>> bucketsPackets)
associateToBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
protected void writeBucketKeys(ObjectOutput out) throws IOException
IOException
protected void readBucketKeys(ObjectInput in) throws IOException
IOException
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 long getKey()
getKey
in interface IReplicationOrderedPacket
public long getEndKey()
IReplicationOrderedPacket
getEndKey
in interface IReplicationOrderedPacket
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
public abstract AbstractMultiBucketOrderedPacket clone()
clone
in interface IMultiBucketSingleFileReplicationOrderedPacket
clone
in interface IReplicationOrderedPacket
clone
in class Object
public int getWeight()
getWeight
in interface IReplicationOrderedPacket
Copyright © GigaSpaces.