public class GlobalOrderDiscardedReplicationPacket extends Object implements IReplicationOrderedPacket
| Constructor and Description |
|---|
GlobalOrderDiscardedReplicationPacket() |
GlobalOrderDiscardedReplicationPacket(long key,
int weight) |
| Modifier and Type | Method and Description |
|---|---|
GlobalOrderDiscardedReplicationPacket |
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) |
void |
set_weight(int _weight) |
void |
setEndKey(long endKey) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
public GlobalOrderDiscardedReplicationPacket()
public GlobalOrderDiscardedReplicationPacket(long key,
int weight)
public IReplicationPacketData<?> getData()
getData in interface IReplicationOrderedPacketpublic long getKey()
getKey in interface IReplicationOrderedPacketpublic long getEndKey()
IReplicationOrderedPacketgetEndKey in interface IReplicationOrderedPacketpublic void setEndKey(long endKey)
public void set_weight(int _weight)
public boolean isDataPacket()
isDataPacket in interface IReplicationOrderedPacketpublic boolean isDiscardedPacket()
isDiscardedPacket in interface IReplicationOrderedPacketpublic GlobalOrderDiscardedReplicationPacket clone()
clone in interface IReplicationOrderedPacketclone in class Objectpublic IReplicationOrderedPacket cloneWithNewData(IReplicationPacketData<?> newData)
IReplicationOrderedPacketcloneWithNewData in interface IReplicationOrderedPacketpublic int getWeight()
getWeight in interface IReplicationOrderedPacketpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionCopyright © GigaSpaces.