SidupTransaction

rescala.scheduler.Sidup.SidupTransaction

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
TwoVersionTransactionImpl
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def beforeDynamicDependencyInteraction(dependency: ReSource): Unit

allow the propagation to handle dynamic access to reactives

allow the propagation to handle dynamic access to reactives

Attributes

Definition Classes
def evaluate(r: Derived): Unit

Overrides the evaluator, this is essentially an inlined callback

Overrides the evaluator, this is essentially an inlined callback

Attributes

def evaluateIn(reactive: Derived)(dt: ReevTicket[State, reactive.Value]): Unit
override def initializationPhase(initialChanges: Map[ReSource, InitialChange[State]]): Unit

Starts the propagation by applying the initial changes

Starts the propagation by applying the initial changes

Attributes

Definition Classes
override def initializer: Initializer[State]

Attributes

Definition Classes
override def preparationPhase(initialWrites: Set[ReSource]): Unit

Locks (and potentially otherwise prepares) all affected reactive values to prevent interfering changes.

Locks (and potentially otherwise prepares) all affected reactive values to prevent interfering changes.

Value parameters

initialWrites

List of affected reactive values

Attributes

Definition Classes
final override def propagationPhase(): Unit

Performs the actual propagation, setting the new (not yet committed) values for each reactive element.

Performs the actual propagation, setting the new (not yet committed) values for each reactive element.

Attributes

Definition Classes
override def releasePhase(): Unit

Unlocks (and potentially otherwise reverts the propagation preparations for) each reactive value to allow future turns to run on them.

Unlocks (and potentially otherwise reverts the propagation preparations for) each reactive value to allow future turns to run on them.

Attributes

Definition Classes

Inherited methods

override def access(reactive: ReSource): reactive.Value

Attributes

Definition Classes
Inherited from:
TwoVersionTransactionImpl
final def commitDependencyDiff(node: Derived, current: Set[ReSource])(updated: Set[ReSource]): Unit

Attributes

Inherited from:
TwoVersionTransactionImpl
override def commitPhase(): Unit

Commits all uncommitted changes to the reactive element.

Commits all uncommitted changes to the reactive element.

Attributes

Definition Classes
Inherited from:
TwoVersionTransactionImpl
final def now[A](reactive: of[State, A]): A

Attributes

Inherited from:
Transaction

Attributes

Inherited from:
TwoVersionTransactionImpl
override def observerPhase(): Unit

Call all registered after-commit obverser functions.

Call all registered after-commit obverser functions.

Attributes

Definition Classes
Inherited from:
TwoVersionTransactionImpl
override def rollbackPhase(): Unit

Reverts all uncommitted changes to the reactive element.

Reverts all uncommitted changes to the reactive element.

Attributes

Definition Classes
Inherited from:
TwoVersionTransactionImpl
override def schedule(commitable: ReSource): Unit

Schedules a temporarily written change to be committed by the turn.

Schedules a temporarily written change to be committed by the turn.

Attributes

Definition Classes
Inherited from:
TwoVersionTransactionImpl
def writeState(pulsing: ReSource)(value: pulsing.Value): Unit

Attributes

Inherited from:
TwoVersionTransactionImpl

Concrete fields

Inherited fields

Attributes

Inherited from:
TwoVersionTransactionImpl

Attributes

Inherited from:
TwoVersionTransactionImpl

Attributes

Inherited from:
TwoVersionTransactionImpl
val token: Token

Attributes

Inherited from:
TwoVersionTransactionImpl