Txn

object Txn
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait Resource extends Closeable with ExternalDecider

Value members

Concrete methods

def atomic[A](fun: InTxn => A): A
def copy[T1 <: Txn[LazyRef(...)], T2 <: Txn[LazyRef(...)], A](fun: (T1, T2) => A)(implicit cursor1: Cursor[T1], cursor2: Cursor[T2]): A

Allows to share a transaction between two systems, necessary for a cross-system Obj.copy operation.

Allows to share a transaction between two systems, necessary for a cross-system Obj.copy operation.

Implicits

Implicits

implicit
def peer(implicit tx: TxnLike): InTxn

Implicitly extracts a Scala STM transaction from a TxnLike instance.

Implicitly extracts a Scala STM transaction from a TxnLike instance.

implicit
def wrap(implicit peer: InTxn): TxnLike

Implicitly treats a Scala STM transaction as a TxnLike instance.

Implicitly treats a Scala STM transaction as a TxnLike instance.