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. Protected

Type Members

  1. final type Acc = Access[S]
    Definition Classes
    Sys → Base
  2. abstract type D <: DurableLike[(Mixin.this)#D]
    Definition Classes
    Sys
  3. abstract type I <: InMemoryLike[(Mixin.this)#I]
    Definition Classes
    Sys → Sys → Base
  4. final type Id = Identifier[S]
    Definition Classes
    Sys → Base
  5. abstract type Tx <: Txn[S]
    Definition Classes
    Sys → Sys → Base
  6. final type Var[A] = confluent.Var[S, A]
    Definition Classes
    Sys → Base

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
    Base
  4. abstract def inMemoryTx(tx: S.Tx): Sys.I.Tx
    Definition Classes
    Base
  5. abstract def storeFactory: Factory
    Attributes
    protected
  6. abstract def wrapRegular(dtx: Sys.D.Tx, inputAccess: Access[S], retroactive: Boolean, cursorCache: Cache[S.Tx], systemTimeNanos: Long): S.Tx
    Attributes
    protected
  7. abstract def wrapRoot(peer: InTxn): S.Tx
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addEventReaction[A](event: Event[S, A], observer: Observer[S, A])(implicit tx: S.Tx): Boolean
    Definition Classes
    Mixin → ReactionMap
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def close(): Unit
    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
    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)

    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
    Definition Classes
    MixinSys
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final val eventMap: IdentifierMap[Identifier[S], S.Tx, Map[Int, List[Observer[S, _]]]]
    Attributes
    protected
    Definition Classes
    Mixin → Mixin
  14. def finalize(): Unit
    Attributes
    protected[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
    Definition Classes
    MixinSys
  16. final def flushRoot(meldInfo: MeldInfo[S], newVersion: Boolean, caches: IndexedSeq[Cache[S.Tx]])(implicit tx: S.Tx): Unit
    Definition Classes
    MixinSys
  17. final val fullCache: Durable[S, Int, Store[S, Int]]
    Definition Classes
    MixinSys
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getEventReactions[A](event: Event[S, A])(implicit tx: S.Tx): List[Observer[S, A]]
    Definition Classes
    Mixin → ReactionMap
  20. final def getIndexTreeTerm(term: Long)(implicit tx: S.Tx): Long
    Definition Classes
    MixinPartialMapHandler
  21. def hasEventReactions[A](event: Event[S, A])(implicit tx: S.Tx): Boolean
    Definition Classes
    Mixin → ReactionMap
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def indexMap: IndexMapHandler[S]
    Definition Classes
    MixinSys
  24. def isAncestor(term1: Long, term2: Long)(implicit tx: S.Tx): Boolean
    Definition Classes
    MixinIndexMapHandler
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def newCursor(init: Access[S])(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]
    Definition Classes
    MixinSys
  28. final def newCursor()(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]
    Definition Classes
    MixinSys
  29. final def newIdValue()(implicit tx: S.Tx): Int
    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]
    Definition Classes
    MixinIndexMapHandler
  31. final def newPartialMap[A](rootValue: A)(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]
    Definition Classes
    MixinPartialMapHandler
  32. final def newVersionId(implicit tx: S.Tx): Long
    Definition Classes
    MixinSys
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def numRecords(implicit tx: S.Tx): Int
  36. def numUserRecords(implicit tx: S.Tx): Int
  37. def reactionMap: ReactionMap[S]
    Definition Classes
    Mixin
  38. final def readCursor(in: DataInput)(implicit tx: S.Tx): Cursor[S, (Mixin.this)#D]
    Definition Classes
    MixinSys
  39. final def readIndexMap[A](in: DataInput, index: Access[S])(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]
    Definition Classes
    MixinIndexMapHandler
  40. final def readPartialMap[A](in: DataInput)(implicit tx: S.Tx, serializer: ImmutableSerializer[A]): IndexMap[S, A]
    Definition Classes
    MixinPartialMapHandler
  41. final def readPath(in: DataInput): Access[S]
    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)
  43. def removeEventReaction[A](event: Event[S, Any], observer: Observer[S, A])(implicit tx: S.Tx): Boolean
    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]
    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]
    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)

    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
    Definition Classes
    MixinSys
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    Mixin → AnyRef → Any
  50. 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
  51. final def versionUntil(access: Access[S], timeStamp: Long)(implicit tx: S.Tx): Access[S]
    Definition Classes
    MixinSys
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

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