public class GlobalOrderReliableAsyncKeptDiscardedOrderedPacket extends Object implements IReplicationOrderedPacket
Constructor and Description |
---|
GlobalOrderReliableAsyncKeptDiscardedOrderedPacket() |
GlobalOrderReliableAsyncKeptDiscardedOrderedPacket(IReplicationOrderedPacket beforeFilter,
IReplicationOrderedPacket afterFilter) |
Modifier and Type | Method and Description |
---|---|
GlobalOrderReliableAsyncKeptDiscardedOrderedPacket |
clone() |
IReplicationOrderedPacket |
cloneWithNewData(IReplicationPacketData<?> newData)
Clones the packet replacing its data with the new data
|
IReplicationOrderedPacket |
getBeforeFilterPacket() |
IReplicationPacketData<?> |
getData() |
long |
getEndKey()
return the last key for given packets - relevant to range packets - merged discarded/deleted
packets
|
long |
getKey() |
int |
getWeight() |
boolean |
isDataPacket() |
boolean |
isDiscardedPacket() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
public GlobalOrderReliableAsyncKeptDiscardedOrderedPacket()
public GlobalOrderReliableAsyncKeptDiscardedOrderedPacket(IReplicationOrderedPacket beforeFilter, IReplicationOrderedPacket afterFilter)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
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 GlobalOrderReliableAsyncKeptDiscardedOrderedPacket clone()
clone
in interface IReplicationOrderedPacket
clone
in class Object
public IReplicationOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacket
cloneWithNewData
in interface IReplicationOrderedPacket
public int getWeight()
getWeight
in interface IReplicationOrderedPacket
public IReplicationOrderedPacket getBeforeFilterPacket()
Copyright © GigaSpaces.