Trait

de.sciss.lucre.confluent.impl

Mixin

Related Doc: package impl

Permalink

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], Base[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. Base
  9. Closeable
  10. AutoCloseable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type Acc = Access[S]

    Permalink
    Definition Classes
    Sys → Base
  2. abstract type D <: DurableLike[(Mixin.this)#D]

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

    Permalink
    Definition Classes
    Sys → Sys → Base
  4. final type Id = Identifier[S]

    Permalink
    Definition Classes
    Sys → Base
  5. abstract type Tx <: Txn[S]

    Permalink
    Definition Classes
    Sys → Sys → Base
  6. final type Var[A] = confluent.Var[S, A]

    Permalink
    Definition Classes
    Sys → Base

Abstract Value Members

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

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

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

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

    Permalink
    Definition Classes
    Base
  5. abstract def storeFactory: Factory

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

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

    Permalink
    Attributes
    protected

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 addEventReaction[A](event: Event[S, A], observer: Observer[S, A])(implicit tx: S.Tx): Boolean

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

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

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

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

    Permalink
    Definition Classes
    MixinSys
  9. 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)

    Permalink

    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
  10. def debugPrintIndex(index: Access[S])(implicit tx: S.Tx): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MixinSys
  29. final def newIdValue()(implicit tx: S.Tx): Int

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

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

    Permalink
    Definition Classes
    MixinPartialMapHandler
  32. final def newVersionId(implicit tx: S.Tx): Long

    Permalink
    Definition Classes
    MixinSys
  33. final def notify(): Unit

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

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

    Permalink
  36. def numUserRecords(implicit tx: S.Tx): Int

    Permalink
  37. def reactionMap: ReactionMap[S]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Mixin → Sys
  46. 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)

    Permalink

    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
  47. final val store: DataStore

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

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

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

    Permalink

    Retrieves the version information for a given version term.

    Retrieves the version information for a given version term.

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

    Permalink
    Definition Classes
    MixinSys
  52. final def wait(): Unit

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

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

    Permalink
    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 Base[S]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped