Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Inherits IDisposable.
Inherited by Org.Apache.REEF.Wake.Time.Runtime.RuntimeClock.
Classes | |
class | IdleHandler |
Bind this to an event handler to statically subscribe to the IdleClock Event More... | |
class | RuntimeStartHandler |
Bind this to an event handler to statically subscribe to the RuntimeStart Event More... | |
class | RuntimeStopHandler |
Bind this to an event handler to statically subscribe to the RuntimeStop Event More... | |
class | StartHandler |
Bind this to an event handler to statically subscribe to the StartTime Event More... | |
class | StopHandler |
Bind this to an event handler to statically subscribe to the StopTime Event More... | |
Public Member Functions | |
abstract void | ScheduleAlarm (long offset, IObserver< Alarm > handler) |
Schedule a TimerEvent at the given future offset More... | |
abstract bool | IsIdle () |
Clock is idle if it has no future alarms set More... | |
abstract void | Dispose () |
Dispose of the clock and all scheduled alarms More... | |
abstract void | Run () |
Start the Clock. More... | |
|
pure virtual |
Dispose of the clock and all scheduled alarms
Implemented in Org.Apache.REEF.Wake.Time.Runtime.RuntimeClock.
|
pure virtual |
Clock is idle if it has no future alarms set
Implemented in Org.Apache.REEF.Wake.Time.Runtime.RuntimeClock.
|
pure virtual |
Start the Clock.
The clock will continue to run and handle events until it has been disposed.
Implemented in Org.Apache.REEF.Wake.Time.Runtime.RuntimeClock.
|
pure virtual |
Schedule a TimerEvent at the given future offset
offset | The offset in the future to schedule the alarm |
handler | The IObserver to to be called |
Implemented in Org.Apache.REEF.Wake.Time.Runtime.RuntimeClock.