public class MultiBucketSingleFileReliableAsyncKeptDiscardedPacket extends Object implements IMultiBucketSingleFileReplicationOrderedPacket
Constructor and Description |
---|
MultiBucketSingleFileReliableAsyncKeptDiscardedPacket() |
MultiBucketSingleFileReliableAsyncKeptDiscardedPacket(IMultiBucketSingleFileReplicationOrderedPacket beforeFilter,
IMultiBucketSingleFileReplicationOrderedPacket afterFilter) |
public MultiBucketSingleFileReliableAsyncKeptDiscardedPacket()
public MultiBucketSingleFileReliableAsyncKeptDiscardedPacket(IMultiBucketSingleFileReplicationOrderedPacket beforeFilter, IMultiBucketSingleFileReplicationOrderedPacket afterFilter)
public MultiBucketSingleFileProcessResult process(String sourceLookupName, IMultiBucketSingleFileProcessLog processLog, IReplicationInFilterCallback inFilterCallback, ParallelBatchProcessingContext context, int segmentIndex)
process
in interface IMultiBucketSingleFileReplicationOrderedPacket
public long processResult(String memberName, MultiBucketSingleFileProcessResult processResult, MultiBucketSingleFileConfirmationHolder confirmationHolder)
processResult
in interface IMultiBucketSingleFileReplicationOrderedPacket
public long getBucketKey(short bucketIndex)
getBucketKey
in interface IMultiBucketSingleFileReplicationOrderedPacket
public PacketConsumeState getConsumeState(short bucketIndex)
getConsumeState
in interface IMultiBucketSingleFileReplicationOrderedPacket
public boolean setConsumed()
setConsumed
in interface IMultiBucketSingleFileReplicationOrderedPacket
public short bucketCount()
bucketCount
in interface IMultiBucketSingleFileReplicationOrderedPacket
public short[] getBuckets()
getBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
public void associateToBuckets(ShortObjectMap<List<IMultiBucketSingleFileReplicationOrderedPacket>> bucketsPackets)
associateToBuckets
in interface IMultiBucketSingleFileReplicationOrderedPacket
public IMultiBucketSingleFileReplicationOrderedPacket replaceWithDiscarded()
replaceWithDiscarded
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 IReplicationOrderedPacket wrapWithReliableAsyncKeptDiscardedPacket(IMultiBucketSingleFileReplicationOrderedPacket typedAfterFilter)
public IReplicationPacketData<?> getData()
getData
in interface IReplicationOrderedPacket
public long getKey()
getKey
in interface IReplicationOrderedPacket
public long getEndKey()
IReplicationOrderedPacket
getEndKey
in interface IReplicationOrderedPacket
public boolean isDataPacket()
isDataPacket
in interface IReplicationOrderedPacket
public boolean isDiscardedPacket()
isDiscardedPacket
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 MultiBucketSingleFileReliableAsyncKeptDiscardedPacket clone()
clone
in interface IMultiBucketSingleFileReplicationOrderedPacket
clone
in interface IReplicationOrderedPacket
clone
in class Object
public MultiBucketSingleFileReliableAsyncKeptDiscardedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacket
cloneWithNewData
in interface IMultiBucketSingleFileReplicationOrderedPacket
cloneWithNewData
in interface IReplicationOrderedPacket
public int getWeight()
getWeight
in interface IReplicationOrderedPacket
Copyright © GigaSpaces.