Interface IReplicationTransactionalPacketEntryData
- All Superinterfaces:
Externalizable, IReplicationPacketEntryData, ISwapExternalizable, Serializable, SmartExternalizable
- All Known Implementing Classes:
ChangeReplicationPacketData, PartialUpdateReplicationPacketData, RemoveByUIDReplicationPacketData, RemoveReplicationPacketData, UpdateReplicationPacketData, WriteReplicationPacketData
-
Method Summary
Modifier and TypeMethodDescriptionvoidbatchExecuteTransactional(IReplicationInBatchContext context, ITransactionalBatchExecutionCallback executionCallback) booleanIf 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.clone()voidexecuteTransactional(IReplicationInContext context, ITransactionalExecutionCallback transactionExecutionCallback, Transaction transaction, boolean twoPhaseCommit) toFilterEntry(SpaceTypeManager spaceTypeManager) Methods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface IReplicationPacketEntryData
containsFullEntryData, filterIfNotPresentInReplicaState, getOperationId, getOperationType, getOrderCode, getTypeName, getUid, isBackupOnly, isFromGateway, isTransient, requiresRecoveryDuplicationProtectionMethods inherited from interface ISwapExternalizable
readFromSwap, writeToSwapMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Method Details
-
toFilterEntry
-
executeTransactional
void executeTransactional(IReplicationInContext context, ITransactionalExecutionCallback transactionExecutionCallback, Transaction transaction, boolean twoPhaseCommit) throws Exception - Throws:
Exception
-
batchExecuteTransactional
void batchExecuteTransactional(IReplicationInBatchContext context, ITransactionalBatchExecutionCallback executionCallback) throws Exception - Throws:
Exception
-
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
-