trait Mixin[Tx <: Txn[Tx]] extends ConfluentLike[Tx] with IndexMapHandler[Tx] with PartialMapHandler[Tx] with impl.ReactionMapImpl.Mixin[Tx]
- Self Type
- Mixin[Tx]
- Alphabetic
- By Inheritance
- Mixin
- Mixin
- ReactionMap
- PartialMapHandler
- IndexMapHandler
- ConfluentLike
- Sys
- Sys
- Base
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final type Acc = Access[T]
- Definition Classes
- Sys
- abstract type D <: DurableLike.Txn[D]
- Definition Classes
- Sys
- abstract type I <: InMemoryLike.Txn[I]
- Definition Classes
- Sys
- final type Id = Ident[T]
- Definition Classes
- Sys
- type T = Tx
- Definition Classes
- ConfluentLike → Sys → Sys
- final type Var[A] = lucre.Var[T, A]
- Definition Classes
- Sys
Abstract Value Members
- abstract def durable: DurableLike[D]
- Definition Classes
- Sys
- abstract def durableTx(tx: T): D
- abstract def inMemory: InMemoryLike[I]
- Definition Classes
- Sys
- abstract def storeFactory: Factory
- Attributes
- protected
- abstract def wrapRegular(dtx: D, inputAccess: Access[T], retroactive: Boolean, cursorCache: Cache[T], systemTimeNanos: Long): T
- Attributes
- protected
- abstract def wrapRoot(peer: InTxn): T
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addEventReaction[A](event: Event[Tx, A], observer: Observer[Tx, A])(implicit tx: Tx): Boolean
- Definition Classes
- Mixin → ReactionMap
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
- Definition Classes
- Mixin → Base → Closeable → AutoCloseable
- final def createTxn(dtx: D, inputAccess: Access[T], retroactive: Boolean, cursorCache: Cache[T], systemTimeNanos: Long): T
- def cursorRoot[A, B](init: (T) => A)(result: (T) => (A) => B)(implicit format: TFormat[T, A]): (Ref[T, A], B)
Initializes the data structure, by either reading an existing entry or generating the root entry with the
initfunction.Initializes the data structure, by either reading an existing entry or generating the root entry with the
initfunction. The method than allows the execution of another function within the same transaction, passing it the data structure root of typeA. 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
- format
a format to read or write the data structure
- returns
the access to the data structure along with the result of the second function.
- def debugPrintIndex(index: Access[T])(implicit tx: T): String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final val eventMap: IdentMap[T, Map[Int, List[Observer[T, _]]]]
- Attributes
- protected
- Definition Classes
- Mixin → Mixin
- final def flushRegular(meldInfo: MeldInfo[T], newVersion: Boolean, caches: IndexedSeq[Cache[T]])(implicit tx: T): Unit
- final def flushRoot(meldInfo: MeldInfo[T], newVersion: Boolean, caches: IndexedSeq[Cache[T]])(implicit tx: T): Unit
- final val fullCache: CacheMap.Durable[T, Int, Store[T, Int]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getEventReactions[A](event: Event[Tx, A])(implicit tx: Tx): List[Observer[Tx, A]]
- Definition Classes
- Mixin → ReactionMap
- final def getIndexTreeTerm(term: Long)(implicit tx: T): Long
- Definition Classes
- Mixin → PartialMapHandler
- def hasEventReactions[A](event: Event[Tx, A])(implicit tx: Tx): Boolean
- Definition Classes
- Mixin → ReactionMap
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def indexMap: IndexMapHandler[T]
- def isAncestor(term1: Long, term2: Long)(implicit tx: T): Boolean
- Definition Classes
- Mixin → IndexMapHandler
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def newCursor(init: Access[T])(implicit tx: T): Cursor[T, D]
- final def newCursor()(implicit tx: T): Cursor[T, D]
- final def newIdValue()(implicit tx: T): Int
- final def newIndexMap[A](tx: T, rootTerm: Long, rootValue: A)(implicit index: Tx.Acc, format: ConstFormat[A]): IndexMap[T, A]
- Definition Classes
- Mixin → IndexMapHandler
- final def newPartialMap[A](rootValue: A)(implicit tx: T, format: ConstFormat[A]): IndexMap[T, A]
- Definition Classes
- Mixin → PartialMapHandler
- final def newVersionId(implicit tx: T): Long
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def numRecords(implicit tx: T): Int
- def numUserRecords(implicit tx: T): Int
- def reactionMap: ReactionMap[Tx]
- Definition Classes
- Mixin
- final def readCursor(in: DataInput)(implicit tx: T): Cursor[T, D]
- final def readIndexMap[A](in: DataInput, tx: T)(implicit index: Tx.Acc, format: ConstFormat[A]): IndexMap[T, A]
- Definition Classes
- Mixin → IndexMapHandler
- final def readPartialMap[A](in: DataInput)(implicit tx: T, format: ConstFormat[A]): IndexMap[T, A]
- Definition Classes
- Mixin → PartialMapHandler
- final def readPath(in: DataInput): Access[T]
- final def readTreeVertex(tree: Tree[D, Long], term: Long)(implicit tx: D): (Vertex[D, Long], Int)
- def removeEventReaction[A](event: Event[Tx, Any], observer: Observer[Tx, A])(implicit tx: Tx): Boolean
- Definition Classes
- Mixin → ReactionMap
- final def root[A](init: (T) => A)(implicit format: TFormat[T, A]): Ref[T, A]
- Definition Classes
- Mixin → Sys
- final def rootJoin[A](init: (T) => A)(implicit itx: TxnLike, format: TFormat[T, A]): Ref[T, A]
- Definition Classes
- Mixin → Sys
- final def rootWithDurable[A, B](confInt: (T) => A)(durInit: (D) => B)(implicit aFmt: TFormat[T, A], bFmt: TFormat[D, B]): (Source[T, 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
- aFmt
a format to read or write the confluent data structure
- bFmt
a format 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.SourcebecauseD#AccisUnitand does not need refresh.
- final val store: DataStore
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Mixin → AnyRef → Any
- final def versionInfo(term: Long)(implicit tx: TxnLike): VersionInfo
Retrieves the version information for a given version term.
- final def versionUntil(access: Access[T], timeStamp: Long)(implicit tx: T): Access[T]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated