Optional
postPost-commit logic.
Optional
prePre-commit logic.
Pre-commit logic returns a boolean indicating whether it performed an action that affects state. The transaction will cycle through participants continuously until all participants return false.
Thus preCommit
implementations must be stateful and expect to be invoked more than once for a single
transaction.
Optional
roleThe "role" of a participant is an optional key you may use to retrieve a participant from the transaction.
Commit phase one.
Commit phase two.
Drop isolated writes and revert to original canonical source.
Components with support for transactionality implement this interface.