TxnMixin

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

Type members

Types

override
type I = I1

Inherited types

final
type Id = Id[T]
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 newCachedIntVar(init: Int): Var[T, Int]
final
def newCachedLongVar(init: Long): Var[T, Long]
final
def newCachedVar[A](init: A)(implicit format: TFormat[T, A]): Var[T, A]
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 readCachedIntVar(in: DataInput): Var[T, Int]
final
def readCachedLongVar(in: DataInput): Var[T, Long]
final
def readCachedVar[A](in: DataInput)(implicit format: TFormat[T, A]): Var[T, A]
final 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
def system: DurableLike[T] { type I = I; }
Inherited from
Txn

Implicits

Implicits

implicit
def inMemoryCursor: Cursor[I]

Inherited implicits

implicit
def inMemoryBridge: T => I
Inherited from
Exec