Class GlobalOrderDeletedBacklogPacket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.backlog.globalorder.GlobalOrderDeletedBacklogPacket
- All Implemented Interfaces:
IReplicationOrderedPacket,ISwapExternalizable,SmartExternalizable,Externalizable,Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()cloneWithNewData(IReplicationPacketData<?> newData) Clones the packet replacing its data with the new datagetData()longreturn the last key for given packets - relevant to range packets - merged discarded/deleted packetslonggetKey()intbooleanbooleanvoidvoidtoString()voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
GlobalOrderDeletedBacklogPacket
public GlobalOrderDeletedBacklogPacket() -
GlobalOrderDeletedBacklogPacket
public GlobalOrderDeletedBacklogPacket(long startKey, long endKey)
-
-
Method Details
-
getData
- Specified by:
getDatain interfaceIReplicationOrderedPacket- Returns:
- the actual packet data that is needed for the processing
-
getKey
public long getKey()- Specified by:
getKeyin interfaceIReplicationOrderedPacket
-
getEndKey
public long getEndKey()Description copied from interface:IReplicationOrderedPacketreturn the last key for given packets - relevant to range packets - merged discarded/deleted packets- Specified by:
getEndKeyin interfaceIReplicationOrderedPacket
-
isDataPacket
public boolean isDataPacket()- Specified by:
isDataPacketin interfaceIReplicationOrderedPacket
-
isDiscardedPacket
public boolean isDiscardedPacket()- Specified by:
isDiscardedPacketin interfaceIReplicationOrderedPacket
-
clone
- Specified by:
clonein interfaceIReplicationOrderedPacket- Overrides:
clonein classObject
-
cloneWithNewData
Description copied from interface:IReplicationOrderedPacketClones the packet replacing its data with the new data- Specified by:
cloneWithNewDatain interfaceIReplicationOrderedPacket
-
getWeight
public int getWeight()- Specified by:
getWeightin interfaceIReplicationOrderedPacket
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Throws:
IOException
-
toString
-