Trait

de.sciss.lucre.stm.Durable

Txn

Related Doc: package Durable

Permalink

trait Txn extends DurableLike.Txn[Durable]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Txn
  2. Txn
  3. Txn
  4. TxnLike
  5. Executor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def afterCommit(code: ⇒ Unit): Unit

    Permalink

    Registers a thunk to be executed after the transaction successfully committed.

    Registers a thunk to be executed after the transaction successfully committed.

    Definition Classes
    TxnLike
  2. abstract def attrMap(obj: Obj[Durable]): AttrMap[Durable]

    Permalink
    Definition Classes
    Txn
  3. abstract def beforeCommit(fun: (Tx) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Txn
  4. abstract def inMemory: Tx

    Permalink
    Definition Classes
    Txn
  5. abstract def newBooleanVar(id: Durable.Id, init: Boolean): Durable.Var[Boolean]

    Permalink
    Definition Classes
    Executor
  6. abstract def newCachedIntVar(init: Int): Var[Tx, Int]

    Permalink
    Definition Classes
    Txn
  7. abstract def newCachedLongVar(init: Long): Var[Tx, Long]

    Permalink
    Definition Classes
    Txn
  8. abstract def newCachedVar[A](init: A)(implicit serializer: Serializer[Tx, Unit, A]): Var[Tx, A]

    Permalink
    Definition Classes
    Txn
  9. abstract def newHandle[A](value: A)(implicit serializer: Serializer[Tx, Durable.Acc, A]): Source[Tx, A]

    Permalink
    Definition Classes
    Executor
  10. abstract def newId(): Durable.Id

    Permalink
    Definition Classes
    Executor
  11. abstract def newInMemoryIdMap[A]: IdentifierMap[Durable.Id, Tx, A]

    Permalink
    Definition Classes
    Executor
  12. abstract def newInMemoryMap[A, B]: RefMap[Durable, A, B]

    Permalink
    Definition Classes
    Executor
  13. abstract def newInMemorySet[A]: RefSet[Durable, A]

    Permalink
    Definition Classes
    Executor
  14. abstract def newIntVar(id: Durable.Id, init: Int): Durable.Var[Int]

    Permalink
    Definition Classes
    Executor
  15. abstract def newLongVar(id: Durable.Id, init: Long): Durable.Var[Long]

    Permalink
    Definition Classes
    Executor
  16. abstract def newRef[A](init: A): Ref[Tx, A]

    Permalink
    Definition Classes
    Executor
  17. abstract def newVar[A](id: Durable.Id, init: A)(implicit serializer: Serializer[Tx, Durable.Acc, A]): Durable.Var[A]

    Permalink
    Definition Classes
    Executor
  18. abstract def newVarArray[A](size: Int): Array[Durable.Var[A]]

    Permalink
    Definition Classes
    Executor
  19. abstract def peer: InTxn

    Permalink

    Every transaction has a plain Scala-STM transaction as a peer.

    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.

    Definition Classes
    TxnLike
  20. abstract def readBooleanVar(id: Durable.Id, in: DataInput): Durable.Var[Boolean]

    Permalink
    Definition Classes
    Executor
  21. abstract def readCachedIntVar(in: DataInput): Var[Tx, Int]

    Permalink
    Definition Classes
    Txn
  22. abstract def readCachedLongVar(in: DataInput): Var[Tx, Long]

    Permalink
    Definition Classes
    Txn
  23. abstract def readCachedVar[A](in: DataInput)(implicit serializer: Serializer[Tx, Unit, A]): Var[Tx, A]

    Permalink
    Definition Classes
    Txn
  24. abstract def readId(in: DataInput, acc: Durable.Acc): Durable.Id

    Permalink
    Definition Classes
    Executor
  25. abstract def readIntVar(id: Durable.Id, in: DataInput): Durable.Var[Int]

    Permalink
    Definition Classes
    Executor
  26. abstract def readLongVar(id: Durable.Id, in: DataInput): Durable.Var[Long]

    Permalink
    Definition Classes
    Executor
  27. abstract def readVar[A](id: Durable.Id, in: DataInput)(implicit serializer: Serializer[Tx, Durable.Acc, A]): Durable.Var[A]

    Permalink
    Definition Classes
    Executor
  28. abstract val system: Durable

    Permalink
    Definition Classes
    Executor

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DurableLike.Txn[Durable]

Inherited from stm.Txn[Durable]

Inherited from TxnLike

Inherited from Executor[Durable]

Inherited from AnyRef

Inherited from Any

Ungrouped