COSTRANSACTIONS_SUBTRANSACTIONAWARERESOURCE(3erl)

πŸ“¦
version 5.2.2 Β· 2 versions
, in fedora 43, fedora 44

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 = #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. 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 = #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. πŸ’€


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