Returns the current InTxn instance if it is active or in the process of
committing on the current thread, null otherwise.
Returns the current InTxn instance if it is active or in the process of
committing on the current thread, null otherwise. Always performs a
dynamic lookup.
Returns Some(txn) if txn is the InTxn active or in the process of
committing on the current thread, None otherwise.
TxnContextcaptures the implementation-specific functionality of locating theInTxndynamically bound to the currentThread. Users should use the lookup methods provided byobject Txn.