1CosTransactions_RecoveryCoorEdrilnaantgorM(o3d)uleCDoesfTirnaintsiaocntions_RecoveryCoordinator(3)
2
3
4

NAME

6       CosTransactions_RecoveryCoordinator  -  This  module implements the OMG
7       CosTransactions::RecoveryCoordinator interface.
8

DESCRIPTION

10       To get access to the record definitions for the structures use:
11       -include_lib("cosTransactions/include/CosTransactions.hrl").
12

EXPORTS

14       replay_completion(RecoveryCoordinator, Timeout, Resource) -> Return
15
16              Types:
17
18                 RecoveryCoordinator = #objref
19                 Timeout = integer(), milliseconds | 'infinity'
20                 Resource = #objref
21                 Return = Status | {'EXCEPTION', E}
22                 E = #'CosTransactions_NotPrepared'{}
23                 Status = atom()
24
25              The RecoveryCoordinator object is returned by the operation Cos‐
26              Transactions_Coordinator:register_resource/3. The replay_comple‐
27              tion/2 may only be used by the registered Resource  and  returns
28              the  current  status  of  the transaction. The operation is used
29              when recovering after a failure.
30
31              Possible Status replies:
32
33                * 'StatusCommitted'
34
35                * 'StatusCommitting'
36
37                * 'StatusMarkedRollback'
38
39                * 'StatusRollingBack'
40
41                * 'StatusRolledBack'
42
43                * 'StatusActive'
44
45                * 'StatusPrepared'
46
47                * 'StatusUnknown'
48
49                * 'StatusNoTransaction'
50
51                * 'StatusPreparing'
52
53          Warning:
54              replay_completion/3 is blocking and may  cause  dead-lock  if  a
55              child calls this function at the same time as its parent invokes
56              an operation on the child. Dead-lock will not occur if the time‐
57              out has any value except 'infinity'.
58
59              If  the  call  is external incoming (intra-ORB) the timeout will
60              not be activated. Hence, similar action must  be  taken  if  the
61              Resource resides on another vendors ORB.
62
63
64
65
66Ericsson AB                   cosTransactCioosnTsra5n.s0actions_RecoveryCoordinator(3)
Impressum