TwoPhaseCommitTool
Types
Link copied to clipboard
Thrown by TwoPhaseCommitTool.execute when an object fails to commit().
Link copied to clipboard
Thrown by TwoPhaseCommitTool.execute when an object fails to prepareCommit().
Functions
Link copied to clipboard
Executes a 2-phase commit algorithm by first TwoPhaseCommit.prepareCommit all objects and only if all succeed, it proceeds with TwoPhaseCommit.commit. If any of the objects fail on either the preparation or actual commit, it terminates and all of them.