public class GlobalOrderDiscardedReplicationPacket extends Object implements IReplicationOrderedPacket
Constructor and Description |
---|
GlobalOrderDiscardedReplicationPacket() |
GlobalOrderDiscardedReplicationPacket(long key) |
Modifier and Type | Method and Description |
---|---|
GlobalOrderDiscardedReplicationPacket |
clone() |
IReplicationOrderedPacket |
cloneWithNewData(IReplicationPacketData<?> newData)
Clones the packet replacing its data with the new data
|
boolean |
equals(Object o) |
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 |
setEndKey(long endKey) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
public GlobalOrderDiscardedReplicationPacket()
public GlobalOrderDiscardedReplicationPacket(long key)
public IReplicationPacketData<?> getData()
getData
in interface IReplicationOrderedPacket
public long getKey()
getKey
in interface IReplicationOrderedPacket
public long getEndKey()
IReplicationOrderedPacket
getEndKey
in interface IReplicationOrderedPacket
public void setEndKey(long endKey)
public boolean isDataPacket()
isDataPacket
in interface IReplicationOrderedPacket
public boolean isDiscardedPacket()
isDiscardedPacket
in interface IReplicationOrderedPacket
public GlobalOrderDiscardedReplicationPacket 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
Copyright © GigaSpaces.