Class GlobalOrderReliableAsyncKeptDiscardedOrderedPacket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.backlog.globalorder.GlobalOrderReliableAsyncKeptDiscardedOrderedPacket
- All Implemented Interfaces:
IReplicationOrderedPacket,ISwapExternalizable,SmartExternalizable,Externalizable,Serializable,Cloneable
public class GlobalOrderReliableAsyncKeptDiscardedOrderedPacket
extends Object
implements IReplicationOrderedPacket
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalOrderReliableAsyncKeptDiscardedOrderedPacket(IReplicationOrderedPacket beforeFilter, IReplicationOrderedPacket afterFilter) -
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()intbooleanbooleanvoidvoidvoidvoidwriteToSwap(ObjectOutput out) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
GlobalOrderReliableAsyncKeptDiscardedOrderedPacket
public GlobalOrderReliableAsyncKeptDiscardedOrderedPacket() -
GlobalOrderReliableAsyncKeptDiscardedOrderedPacket
public GlobalOrderReliableAsyncKeptDiscardedOrderedPacket(IReplicationOrderedPacket beforeFilter, IReplicationOrderedPacket afterFilter)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Throws:
IOException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Throws:
IOExceptionClassNotFoundException
-
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
-
getBeforeFilterPacket
-