Not in the 1.1 specification.
The base Participant.
The interface for a persistable resource.
When asked to prepare, a 2PC participant returns one of three types of vote: ReadOnly: does not need to be informed of the transaction outcome as no state updates were made.
Aborted: the participant has aborted and the transaction should also attempt to do so.
Cancel: the participant is in an unknown state and should be rolledback.
Prepared: it is prepared to commit or rollback depending on the final transaction outcome, and it has made sufficient state updates persistent to accomplish this.
ReadOnly: does not need to be informed of the transaction outcome as no state updates were made.
Thrown if there is a fault during complete or compensation.
Thrown if a general exception is encountered (one not supported by any other exception.)
Thrown if the transaction rolls back rather than commits.
Thrown if the transaction is unknown.
Thrown if the state of the transaction is incompatible with the operation attempted.
Copyright © 2021 JBoss by Red Hat. All rights reserved.