.TH CosTransactions_RecoveryCoordinator 3erl "cosTransactions 1.3.2" "Ericsson AB" "Erlang Module Definition" .SH NAME CosTransactions_RecoveryCoordinator \- This module implements the OMG CosTransactions::RecoveryCoordinator 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 replay_completion(RecoveryCoordinator, Timeout, Resource) -> Return .br .RS .LP Types: .RS 3 RecoveryCoordinator = #objref .br Timeout = integer(), milliseconds | \&'infinity\&' .br Resource = #objref .br Return = Status | {\&'EXCEPTION\&', E} .br E = #\&'CosTransactions_NotPrepared\&'{} .br Status = atom() .br .RE .RE .RS .LP The \fIRecoveryCoordinator\fR\& object is returned by the operation \fICosTransactions_Coordinator:register_resource/3\fR\&\&. The \fIreplay_completion/2\fR\& may only be used by the registered Resource and returns the current status of the transaction\&. The operation is used when recovering after a failure\&. .LP Possible Status replies: .RS 2 .TP 2 * \&'StatusCommitted\&' .LP .TP 2 * \&'StatusCommitting\&' .LP .TP 2 * \&'StatusMarkedRollback\&' .LP .TP 2 * \&'StatusRollingBack\&' .LP .TP 2 * \&'StatusRolledBack\&' .LP .TP 2 * \&'StatusActive\&' .LP .TP 2 * \&'StatusPrepared\&' .LP .TP 2 * \&'StatusUnknown\&' .LP .TP 2 * \&'StatusNoTransaction\&' .LP .TP 2 * \&'StatusPreparing\&' .LP .RE .LP .RS -4 .B Warning: .RE \fIreplay_completion/3\fR\& is blocking and may cause dead-lock if a child calls this function at the same time as its parent invokes an operation on the child\&. Dead-lock will not occur if the timeout has any value except \&'infinity\&'\&. .LP If the call is external incoming (intra-ORB) the timeout will not be activated\&. Hence, similar action must be taken if the Resource resides on another vendors ORB\&. .RE