de.sciss.lucre.confluent.impl

Mixin

trait Mixin[S <: Sys[S]] extends Sys[S] with IndexMapHandler[S] with PartialMapHandler[S] with event.impl.ReactionMapImpl.Mixin[S]

Self Type
Mixin[S] with S
Linear Supertypes
event.impl.ReactionMapImpl.Mixin[S], ReactionMap[S], PartialMapHandler[S], IndexMapHandler[S], Sys[S], stm.Sys[S], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mixin
  2. Mixin
  3. ReactionMap
  4. PartialMapHandler
  5. IndexMapHandler
  6. Sys
  7. Sys
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final type Acc = Access[S]

    Definition Classes
    Sys → Sys
  2. abstract type Context <: AnyRef

    Definition Classes
    Sys
  3. abstract type D <: DurableLike[(Mixin.this)#D]

    Definition Classes
    Sys
  4. abstract type I <: InMemoryLike[(Mixin.this)#I]

    Definition Classes
    Sys → Sys
  5. final type ID = Identifier[S]

    Definition Classes
    Sys → Sys
  6. abstract type Tx <: Txn[S]

    Definition Classes
    Sys → Sys
  7. final type Var[A] = confluent.Var[S, A]

    Definition Classes
    Sys → Sys

Abstract Value Members

  1. abstract def durable: (Mixin.this)#D

    Definition Classes
    Sys
  2. abstract def durableTx(tx: S.Tx): Sys.D.Tx

    Definition Classes
    MixinSys
  3. abstract def inMemory: (Mixin.this)#I

    Definition Classes
    Sys
  4. abstract def inMemoryTx(tx: S.Tx): Sys.I.Tx

    Definition Classes
    Sys
  5. abstract def storeFactory: Factory

    Attributes
    protected
  6. abstract def wrapRegular(dtx: Sys.D.Tx, inputAccess: Access[S], retroactive: Boolean, cursorCache: Cache[S.Tx]): S.Tx

    Attributes
    protected
  7. abstract def wrapRoot(peer: InTxn): S.Tx

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def addEventReaction[A](event: Event[S, A], observer: Observer[S, A])(implicit tx: S.Tx): Boolean

    Definition Classes
    Mixin → ReactionMap
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Definition Classes
    Mixin → Sys → Closeable → AutoCloseable
  10. final def createTxn(dtx: Sys.D.Tx, inputAccess: Access[S], retroactive: Boolean, cursorCache: Cache[S.Tx]): S.Tx

    Definition Classes
    MixinSys
  11. def cursorRoot[A, B](init: (S.Tx) ⇒ A)(result: (S.Tx) ⇒ (A) ⇒ B)(implicit serializer: Serializer[S.Tx, Access[S], A]): (confluent.Var[S, A], B)

    Initializes the data structure, by either reading an existing entry or generating the root entry with the init function.

    Initializes the data structure, by either reading an existing entry or generating the root entry with the init function. The method than allows the execution of another function within the same transaction, passing it the data structure root of type A. This is typically used to generate access mechanisms, such as extracting a cursor from the data structure, or instantiating a new cursor. The method then returns both the access point to the data structure and the result of the second function.

    A

    type of data structure

    B

    type of result from the second function. typically this is an stm.Cursor[S]

    init

    a function to initialize the data structure (if the database is fresh)

    result

    a function to process the data structure

    serializer

    a serializer to read or write the data structure

    returns

    the access to the data structure along with the result of the second function.

    Definition Classes
    MixinSys
  12. def debugPrintIndex(index: Access[S])(implicit tx: S.Tx): String

    Definition Classes
    MixinSys
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. final val eventMap: IdentifierMap[Identifier[S], S.Tx, Map[Int, List[Observer[S, _]]]]

    Attributes
    protected
    Definition Classes
    Mixin → Mixin
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def flushRegular(meldInfo: MeldInfo[S], newVersion: Boolean, caches: IndexedSeq[Cache[S.Tx]])(implicit tx: S.Tx): Unit

    Definition Classes
    MixinSys
  18. final def flushRoot(meldInfo: MeldInfo[S], newVersion: Boolean, caches: IndexedSeq[Cache[S.Tx]])(implicit tx: S.Tx): Unit

    Definition Classes
    MixinSys
  19. final val fullCache: Durable[S, Int, Store[S, Int]]

    Definition Classes
    MixinSys
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getEventReactions[A](event: Event[S, A])(implicit tx: S.Tx): List[Observer[S, A]]

    Definition Classes
    Mixin → ReactionMap
  22. final def getIndexTreeTerm(term: Long)(implicit tx: S.Tx): Long

    Definition Classes
    MixinPartialMapHandler
  23. def hasEventReactions[A](event: Event[S, A])(implicit tx: S.Tx): Boolean

    Definition Classes
    Mixin → ReactionMap
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def indexMap: IndexMapHandler[S]

    Definition Classes
    MixinSys
  26. def isAncestor(term1: Long, term2: Long)(implicit tx: S.Tx): Boolean

    Definition Classes
    MixinIndexMapHandler
  27. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  29. final def newCursor(init: Access[S])(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]

    Definition Classes
    MixinSys
  30. final def newCursor()(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]

    Definition Classes
    MixinSys
  31. final def newIDValue()(implicit tx: S.Tx): Int

    Definition Classes
    MixinSys
  32. final def newIndexMap[A](index: Access[S], rootTerm: Long, rootValue: A)(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]

    Definition Classes
    MixinIndexMapHandler
  33. final def newPartialMap[A](rootValue: A)(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]

    Definition Classes
    MixinPartialMapHandler
  34. final def newVersionID(implicit tx: S.Tx): Long

    Definition Classes
    MixinSys
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def numRecords(implicit tx: S.Tx): Int

  38. def numUserRecords(implicit tx: S.Tx): Int

  39. def reactionMap: ReactionMap[S]

    Definition Classes
    Mixin
  40. final def readCursor(in: DataInput)(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]

    Definition Classes
    MixinSys
  41. final def readIndexMap[A](in: DataInput, index: Access[S])(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]

    Definition Classes
    MixinIndexMapHandler
  42. final def readPartialMap[A](in: DataInput)(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]

    Definition Classes
    MixinPartialMapHandler
  43. final def readPath(in: DataInput): Access[S]

    Definition Classes
    MixinSys
  44. final def readTreeVertex(tree: Tree[(Mixin.this)#D, Long], term: Long)(implicit tx: Sys.D.Tx): (Vertex[(Mixin.this)#D, Long], Int)

  45. def removeEventReaction[A](event: Event[S, Any], observer: Observer[S, A])(implicit tx: S.Tx): Boolean

    Definition Classes
    Mixin → ReactionMap
  46. final def root[A](init: (S.Tx) ⇒ A)(implicit serializer: Serializer[S.Tx, Access[S], A]): confluent.Var[S, A]

    Definition Classes
    Mixin → Sys
  47. final def rootJoin[A](init: (S.Tx) ⇒ A)(implicit itx: TxnLike, serializer: Serializer[S.Tx, Access[S], A]): confluent.Var[S, A]

    Definition Classes
    Mixin → Sys
  48. final def rootWithDurable[A, B](confInt: (S.Tx) ⇒ A)(durInit: (Sys.D.Tx) ⇒ B)(implicit aSer: Serializer[S.Tx, Access[S], A], bSer: Serializer[Sys.D.Tx, Unit, B]): (stm.Source[S.Tx, A], B)

    Initializes the data structure both with a confluently persisted and an ephemeral-durable value.

    Initializes the data structure both with a confluently persisted and an ephemeral-durable value.

    A

    type of confluent data structure

    B

    type of ephemeral data structure

    aSer

    a serializer to read or write the confluent data structure

    bSer

    a serializer to read or write the ephemeral data structure

    returns

    a tuple consisting of a handle to the confluent structure and the ephemeral datum. The ephemeral datum, although written to disk, does not require an stm.Source because D#Acc is Unit and does not need refresh.

    Definition Classes
    MixinSys
  49. final val store: DataStore

    Definition Classes
    MixinSys
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    Mixin → AnyRef → Any
  52. final def versionInfo(term: Long)(implicit tx: TxnLike): VersionInfo

    Retrieves the version information for a given version term.

    Retrieves the version information for a given version term.

    Definition Classes
    MixinSys
  53. final def versionUntil(access: Access[S], timeStamp: Long)(implicit tx: S.Tx): Access[S]

    Definition Classes
    MixinSys
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from event.impl.ReactionMapImpl.Mixin[S]

Inherited from ReactionMap[S]

Inherited from PartialMapHandler[S]

Inherited from IndexMapHandler[S]

Inherited from Sys[S]

Inherited from stm.Sys[S]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped