TxnMixin

trait TxnMixin[T <: Txn[T]] extends BasicTxnImpl[T, T] with Txn[T]
trait Txn[T]
trait BasicTxnImpl[T, T]
trait Txn[T]
trait TxnLike
trait Exec[T]
class Object
trait Matchable
class Any
T

Type members

Inherited types

override
type I = T
Inherited from
Txn
final
type Id = Id[T]
Inherited from
Txn
final
type Var[A] = Var[T, A]
Inherited from
Txn

Value members

Concrete methods

def attrMap(obj: Obj[T]): AttrMap[T]
override
def attrMapOption(obj: Obj[T]): Option[AttrMap[T]]
Definition Classes
final
def newHandle[A](value: A)(implicit format: TFormat[T, A]): Source[T, A]
final
def newId(): Id
final
def newIdentMap[A]: IdentMap[T, A]
final
def newVarArray[A](size: Int): Array[Var[A]]
override
def readId(in: DataInput): Id
Definition Classes
Exec

Inherited methods

def afterCommit(code: => Unit): Unit
Inherited from
BasicTxnImpl
def beforeCommit(fun: T => Unit): Unit
Inherited from
BasicTxnImpl
def inMemory: I
Inherited from
Exec
def newInMemoryMap[K, V]: RefMap[T, K, V]
Inherited from
BasicTxnImpl
def newInMemorySet[A]: RefSet[T, A]
Inherited from
BasicTxnImpl
def newRef[A](init: A): Ref[T, A]
Inherited from
BasicTxnImpl
def peer: InTxn

Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like TxnLocal, TMap, or calling into the hooks of concurrent.stm.Txn. It is also needed when re-wrapping the transaction of one system into another.

Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like TxnLocal, TMap, or calling into the hooks of concurrent.stm.Txn. It is also needed when re-wrapping the transaction of one system into another.

Inherited from
TxnLike
override
Definition Classes
Txn -> Txn -> Exec
Inherited from
Txn

Implicits

Implicits

implicit
def inMemoryCursor: Cursor[I]

Inherited implicits

implicit
def inMemoryBridge: T => I
Inherited from
Exec