table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
CosTransactions_SubtransactionAwareResource(3erl) | Erlang Module Definition | CosTransactions_SubtransactionAwareResource(3erl) |
NAME¶
CosTransactions_SubtransactionAwareResource - This module implements the OMG CosTransactions::SubtransactionAwareResource interface.DESCRIPTION¶
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: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.
rollback_subtransaction(SubtransactionAwareResource) -> Return
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.
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.
cosTransactions 1.3.2 | Ericsson AB |