CosTransactions_SubtransactionAwareResource(3erl)

CosTransactions_SubtransactionAwareResource3erl

This module implements the omg costransactions::subtransactionawareresource interface.

Overview

This interface inherits the CosTransactions::Resource interface. Hence, it must also support all operations defined in the Resource interface.

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

Exports

commit_subtransaction(SubtransactionAwareResource, Coordinator) -> Return

Types:

SubtransactionAwareResource = #objref
Coordinator = #objref
Return = ok

If the SubtransactionAwareResource have been registered with a subtransaction using the operation CosTransactions_Coordinator:register_subtran_aware/2, it will be notified when the transaction has committed.

Note:

The results of a committed subtransaction are relative to the completion of its ancestor transactions, that is, these results can be undone if any ancestor transaction is rolled back.

rollback_subtransaction(SubtransactionAwareResource) -> Return

Types:

SubtransactionAwareResource = #objref
Return = ok

If the SubtransactionAwareResource have been registered with a transactions using the operation CosTransactions_Coordinator:register_subtran_aware/2 it will be notified when the transaction has rolled back.

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9

From erlang-manpages 1:19.2.1+dfsg-2+deb9u3 in Debian 9 (Stretch). Parsed by carta from the page's man source.