table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
CosTransactions_Terminator(3erl) | Erlang Module Definition | CosTransactions_Terminator(3erl) |
NAME¶
CosTransactions_Terminator - This module implements the OMG CosTransactions::Terminator interface.DESCRIPTION¶
To get access to the record definitions for the structures use:EXPORTS¶
commit(Terminator, ReportHeuristics) -> Return
Types:
Terminator = #objref
ReportHeuristics = boolean()
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_HeuristicMixed'{} | #'CosTransactions_HeuristicHazrd'{} |
#'CosTransactions_TransactionRolledBack'{}
This operation initiates the two-phase commit protocol. If the transaction has
not been marked 'rollback only' and all the participants agree to
commit, the operation terminates normally. Otherwise, the
TransactionRolledBack is raised. If the parameter ReportHeuristics is
true and inconsistent outcomes by raising an Heuristic Exception.
Types:
Terminator = #objref
Return = ok
This operation roles back the transaction.
cosTransactions 1.2.12 | Ericsson AB |