rescala.scheduler.Twoversion.TwoVersionScheduler
Implementation of the turn handling defined in the Engine trait
Attributes
- Tx
Transaction type used by the scheduler
- Graph
- Supertypes
class Object
trait Matchable
class Any
Members list
Concise view
Value members
goes through the whole turn lifecycle
goes through the whole turn lifecycle
- create a new turn and put it on the stack
- run the lock phase
- the turn knows which reactives will be affected and can do something before anything is really done
- executes the user defined admission code
- run the propagation phase
- calculate the actual new value of the reactive graph
- do cleanups on the reactives, make values permanent and so on, the turn is still valid during this phase
- run registered observers, the turn is no longer valid but the locks are still held.
- this must always run, even in the case that something above fails. it should do cleanup and free any locks to avoid starvation.
- not yet implemented
Attributes
- Definition Classes
Name of the scheduler, used for helpful error messages.
Name of the scheduler, used for helpful error messages.
Attributes
- Inherited from:
- Scheduler
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Inherited from:
- Scheduler