Trait

de.sciss.lucre.stm.impl.DurableImpl

TxnMixin

Related Doc: package DurableImpl

Permalink

trait TxnMixin[S <: D[S]] extends DurableLike.Txn[S] with BasicTxnImpl[S]

Self Type
TxnMixin[S] with S.Tx
Linear Supertypes
BasicTxnImpl[S], DurableLike.Txn[S], Txn[S], TxnLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TxnMixin
  2. BasicTxnImpl
  3. Txn
  4. Txn
  5. TxnLike
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def inMemory: Sys.I.Tx

    Permalink
    Definition Classes
    Txn
  2. 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
  3. abstract val system: S

    Permalink

    Back link to the underlying system.

    Back link to the underlying system.

    Definition Classes
    Txn

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. var _context: S.Context

    Permalink
    Attributes
    protected
    Definition Classes
    BasicTxnImpl
  5. 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
    BasicTxnImplTxnTxnLike
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def attrMap(obj: Obj[S]): AttrMap[S]

    Permalink
    Definition Classes
    TxnMixinTxn
  8. def beforeCommit(fun: (S.Tx) ⇒ Unit): Unit

    Permalink
    Definition Classes
    BasicTxnImplTxn
  9. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def newBooleanVar(id: ID[S], init: Boolean): Var[S.Tx, Boolean]

    Permalink
    Definition Classes
    TxnMixinTxn
  18. final def newCachedIntVar(init: Int): Var[S.Tx, Int]

    Permalink
    Definition Classes
    TxnMixinTxn
  19. final def newCachedLongVar(init: Long): Var[S.Tx, Long]

    Permalink
    Definition Classes
    TxnMixinTxn
  20. final def newCachedVar[A](init: A)(implicit ser: Serializer[S.Tx, Unit, A]): Var[S.Tx, A]

    Permalink
    Definition Classes
    TxnMixinTxn
  21. final def newHandle[A](value: A)(implicit serializer: Serializer[S.Tx, Unit, A]): Source[S.Tx, A]

    Permalink

    Creates a handle (in-memory) to refresh a stale version of an object, assuming that the future transaction is issued from the same cursor that is used to create the handle, except for potentially having advanced.

    Creates a handle (in-memory) to refresh a stale version of an object, assuming that the future transaction is issued from the same cursor that is used to create the handle, except for potentially having advanced. This is a mechanism that can be used in live views to gain valid access to a referenced object (e.g. self access).

    value

    the object which will be refreshed when calling get on the returned handle

    serializer

    used to write and freshly read the object

    returns

    the handle

    Definition Classes
    TxnMixinTxn
  22. final def newID(): ID[S]

    Permalink
    Definition Classes
    TxnMixinTxn
  23. final def newInMemoryIDMap[A]: IdentifierMap[ID[S], S.Tx, A]

    Permalink

    Creates a new in-memory transactional map for storing and retrieving values based on a mutable's identifier as key.

    Creates a new in-memory transactional map for storing and retrieving values based on a mutable's identifier as key. If a system is confluently persistent, the get operation will find the most recent key that matches the search key. Objects are not serialized but kept live in memory.

    ID maps can be used by observing views to look up associated view meta data even though they may be presented with a more recent access path of the model peer (e.g. when a recent event is fired and observed).

    A

    the value type in the map

    Definition Classes
    TxnMixinTxn
  24. final def newIntVar(id: ID[S], init: Int): Var[S.Tx, Int]

    Permalink
    Definition Classes
    TxnMixinTxn
  25. final def newLongVar(id: ID[S], init: Long): Var[S.Tx, Long]

    Permalink
    Definition Classes
    TxnMixinTxn
  26. final def newVar[A](id: ID[S], init: A)(implicit ser: Serializer[S.Tx, Unit, A]): Var[S.Tx, A]

    Permalink
    Definition Classes
    TxnMixinTxn
  27. final def newVarArray[A](size: Int): Array[Var[S.Tx, A]]

    Permalink
    Definition Classes
    TxnMixinTxn
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. final def readBooleanVar(pid: ID[S], in: DataInput): Var[S.Tx, Boolean]

    Permalink
    Definition Classes
    TxnMixinTxn
  31. final def readCachedIntVar(in: DataInput): Var[S.Tx, Int]

    Permalink
    Definition Classes
    TxnMixinTxn
  32. final def readCachedLongVar(in: DataInput): Var[S.Tx, Long]

    Permalink
    Definition Classes
    TxnMixinTxn
  33. final def readCachedVar[A](in: DataInput)(implicit ser: Serializer[S.Tx, Unit, A]): Var[S.Tx, A]

    Permalink
    Definition Classes
    TxnMixinTxn
  34. final def readID(in: DataInput, acc: Unit): ID[S]

    Permalink
    Definition Classes
    TxnMixinTxn
  35. final def readIntVar(pid: ID[S], in: DataInput): Var[S.Tx, Int]

    Permalink
    Definition Classes
    TxnMixinTxn
  36. final def readLongVar(pid: ID[S], in: DataInput): Var[S.Tx, Long]

    Permalink
    Definition Classes
    TxnMixinTxn
  37. final def readVar[A](pid: ID[S], in: DataInput)(implicit ser: Serializer[S.Tx, Unit, A]): Var[S.Tx, A]

    Permalink
    Definition Classes
    TxnMixinTxn
  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def use[A](context: S.Context)(fun: ⇒ A): A

    Permalink
    Definition Classes
    BasicTxnImplTxn
  41. final def wait(): Unit

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

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

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

Inherited from BasicTxnImpl[S]

Inherited from DurableLike.Txn[S]

Inherited from Txn[S]

Inherited from TxnLike

Inherited from AnyRef

Inherited from Any

Ungrouped