COSTRANSACTIONS_SUBTRANSACTIONAWARERESOURCE(3erl)
omg bestie, welcome to the CosTransactions_SubtransactionAwareResource(3erl) Erlang Module Definition manual page πβ¨ I'm obsessed, ngl. This one's giving subtransaction-aware resource energy, main character energy, and Erlang module definition realness. Vibe check: passed. π
β¨ 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. The way that it has to support literally all of them? Lowkey a lot, highkey iconic. No cap. β¨
Wanna get access to the record definitions for the structures? Use this:
-include_lib("cosTransactions/include/CosTransactions.hrl").
π EXPORTS π
π commit_subtransaction(SubtransactionAwareResource, Coordinator) -> Return
Types:
SubtransactionAwareResource = #objrefCoordinator = #objrefReturn = 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. Periodt. π₯
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. π Not me crying over ancestor transactions, iykyk.
π¦ rollback_subtransaction(SubtransactionAwareResource) -> Return
Types:
SubtransactionAwareResource = #objrefReturn = 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. π
mwah π this page was brought to you by Ericsson AB, cosTransactions 5.2.2, and the footer tag CosTransac...areResource(3). That's the whole sign-off, bestie β fr fr, periodt. Slay. π
π¦ where this page comes from
- fedora 43: erlang-cosTransactions 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosTransactions 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms