public class GlobalOrderDeletedBacklogPacket extends Object implements IReplicationOrderedPacket
Constructor and Description |
---|
GlobalOrderDeletedBacklogPacket() |
GlobalOrderDeletedBacklogPacket(long startKey,
long endKey) |
Modifier and Type | Method and Description |
---|---|
GlobalOrderDeletedBacklogPacket |
clone() |
IReplicationOrderedPacket |
cloneWithNewData(IReplicationPacketData<?> newData)
Clones the packet replacing its data with the new data
|
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) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
public GlobalOrderDeletedBacklogPacket()
public GlobalOrderDeletedBacklogPacket(long startKey, long endKey)
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 GlobalOrderDeletedBacklogPacket 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 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 void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public String toString()
toString
in class Object
Object.toString()
Copyright © GigaSpaces.