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 java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationPacketEntryData
containsFullEntryData, filterIfNotPresentInReplicaState, getOperationId, getOperationType, getOrderCode, getTypeName, getUid, isBackupOnly, isFromGateway, isTransient, requiresRecoveryDuplicationProtectionMethods inherited from interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
readFromSwap, writeToSwapMethods inherited from interface com.gigaspaces.serialization.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
-