public interface CompensatingTransactionOperationRecorder
CompensatingTransactionOperationExecutor
to be invoked
for execution and compensating transaction management of the operation.
Recording of an operation should not fail (throwing an Exception), but
instead log the result.Modifier and Type | Method and Description |
---|---|
CompensatingTransactionOperationExecutor |
recordOperation(Object[] args)
Record information about the operation performed and return a
corresponding
CompensatingTransactionOperationExecutor to be used
if the operation would need to be rolled back. |
CompensatingTransactionOperationExecutor recordOperation(Object[] args)
CompensatingTransactionOperationExecutor
to be used
if the operation would need to be rolled back.args
- The arguments that have been sent to the operation.CompensatingTransactionOperationExecutor
to be used if
the recorded operation should need to be rolled back.