Interface IReplicationPacketData<T extends IReplicationPacketEntryData>

All Superinterfaces:
Cloneable, Collection<T>, Externalizable, ISwapExternalizable, Iterable<T>, Serializable, SmartExternalizable
All Known Subinterfaces:
IExecutableReplicationPacketData<T>
All Known Implementing Classes:
AbstractPrepareDependentTransactionReplicationPacketData, AbstractReplicationPacketSingleEntryData, AbstractTransactionReplicationPacketData, CancelLeaseFullReplicationPacketData, CancelLeaseReplicationPacketData, ChangeReplicationPacketData, DataTypeAddIndexPacketData, DataTypeDropPacketData, DataTypeIntroducePacketData, DiscardReplicationPacketData, EntryLeaseExpiredFullReplicationPacketData, EntryLeaseExpiredReplicationPacketData, EvictReplicationPacketData, ExtendEntryLeaseReplicationPacketData, ExtendNotifyTemplateLeaseReplicationPacketData, InsertNotifyTemplateReplicationPacketData, NotifyTemplateLeaseExpiredReplicationPacketData, PartialUpdateReplicationPacketData, RemoveByUIDReplicationPacketData, RemoveNotifyTemplateReplicationPacketData, RemoveReplicationPacketData, SingleReplicationPacketData, SingleUidReplicationPacketData, TransactionAbortReplicationPacketData, TransactionCommitReplicationPacketData, TransactionOnePhaseReplicationPacketData, TransactionPrepareReplicationPacketData, TransactionReplicationPacketData, UpdateReplicationPacketData, WriteReplicationPacketData

public interface IReplicationPacketData<T extends IReplicationPacketEntryData> extends Collection<T>, SmartExternalizable, Cloneable, ISwapExternalizable
The replication packet data that is kept in side an IReplicationOrderedPacket which contains the data needed for the processing of the packet
Since:
8.0
Author:
eitany
  • Method Details

    • clone

    • beforeDelayedReplication

      boolean beforeDelayedReplication()
      If the replication of this packet is delayed due to being asynchronous by nature or the target was disconnected when the replication packet was generated, this method is called before the actual replication and the implementor can modify the packet accordingly, mostly relevant for time to live update. If the method returns false the packet is no longer relevant and it is discarded
    • isSingleEntryData

      boolean isSingleEntryData()
    • getSingleEntryData

      IReplicationPacketEntryData getSingleEntryData()
    • supportsReplicationFilter

      boolean supportsReplicationFilter()
    • isMultiParticipantData

      boolean isMultiParticipantData()
      Gets whether this data is part of multiple participants data
    • getMultipleOperationType

      ReplicationMultipleOperationType getMultipleOperationType()
    • requiresRecoveryFiltering

      boolean requiresRecoveryFiltering()
    • getRecoveryFilteringId

      Object getRecoveryFilteringId()
    • isFromGateway

      boolean isFromGateway()
      Returns:
      Gets whether this packet was received from gateway replication
    • setWeight

      void setWeight(int weight)
    • getWeight

      int getWeight()