File: CosTransactions_Terminator.3

package info (click to toggle)
erlang-manpages 1%3A12.b.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,188 kB
  • ctags: 2
  • sloc: makefile: 68; perl: 30; sh: 15
file content (46 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.TH CosTransactions_Terminator 3 "cosTransactions  1.2.4" "Ericsson AB" "ERLANG MODULE DEFINITION"
.SH MODULE
CosTransactions_Terminator \- This module implements the OMG CosTransactions::Terminator interface\&.
.SH DESCRIPTION
.LP
To get access to the record definitions for the structures use: 
.br
\fI-include_lib("cosTransactions/include/CosTransactions\&.hrl")\&.\fR

.SH EXPORTS
.LP
.B
commit(Terminator, ReportHeuristics) -> Return
.br
.RS
.TP
Types
Terminator = #objref
.br
ReportHeuristics = boolean()
.br
Return = ok | {\&'EXCEPTION\&', E}
.br
E = #\&'CosTransactions_HeuristicMixed\&'{} | #\&'CosTransactions_HeuristicHazrd\&'{} | #\&'CosTransactions_TransactionRolledBack\&'{}
.br
.RE
.RS
.LP
This operation initiates the two-phase commit protocol\&. If the transaction has not been marked \fI\&'rollback only\&'\fR and all the participants agree to commit, the operation terminates normally\&. Otherwise, the TransactionRolledBack is raised\&. If the parameter \fIReportHeuristics\fR is true and inconsistent outcomes by raising an Heuristic Exception\&.
.RE
.LP
.B
rollback(Terminator) -> Return
.br
.RS
.TP
Types
Terminator = #objref
.br
Return = ok
.br
.RE
.RS
.LP
This operation roles back the transaction\&. 
.RE