Tells the scheduler to start listening to schedule requests for the reactor frame.
Tells the scheduler to start listening to schedule requests for the reactor frame. Clients never call this method directly.
By default, assigns the default scheduler state to the schedulerState
field in
the reactor frame.
the reactor frame to start scheduling
Is the timer thread a daemon thread.
Creates an State
object for the reactor frame.
Called immediately after a reactor frame completes an execution batch.
Called immediately after a reactor frame completes an execution batch.
Optionally unschedules and runs some number of frames previously scheduled.
This method by default does nothing, but may be overridden for performance purposes.
Called immediately before a reactor frame begins an execution batch.
Called immediately before a reactor frame begins an execution batch.
Notifies a reactor frame that it should be executed.
Executes the reactor on the timer thread.
The reactor is run every
period
milliseconds. This is regardless of the number of events in this reactor's event queue.When the reactor runs, it flushes as many events as there are initially pending events.