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) |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic GlobalOrderDiscardedReplicationPacket()
public GlobalOrderDiscardedReplicationPacket(long key)
public IReplicationPacketData<?> getData()
getData in interface IReplicationOrderedPacketpublic long getKey()
getKey in interface IReplicationOrderedPacketpublic long getEndKey()
IReplicationOrderedPacketgetEndKey in interface IReplicationOrderedPacketpublic void setEndKey(long endKey)
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.