Package | Description |
---|---|
org.apache.reef.driver.restart |
This package provides restart event service handlers.
|
org.apache.reef.wake.time |
Clock and time-based events(start/stop/alarm) implementation.
|
org.apache.reef.wake.time.event |
Time-based events (start/stop/alarm).
|
org.apache.reef.wake.time.runtime | |
org.apache.reef.wake.time.runtime.event |
Runtime-related Wake events.
|
Modifier and Type | Method and Description |
---|---|
Time |
DriverRestartCompleted.getCompletedTime() |
Modifier and Type | Method and Description |
---|---|
Time |
Clock.scheduleAlarm(int offset,
EventHandler<Alarm> handler)
Schedule a TimerEvent at the given future offset.
|
Modifier and Type | Method and Description |
---|---|
int |
Time.compareTo(Time other) |
Modifier and Type | Class and Description |
---|---|
class |
Alarm
An alarm is a timer event to be invoked at a given time.
|
class |
StartTime
Represents the Time at which a component started.
|
class |
StopTime
Represents the Time at which a component stops.
|
Modifier and Type | Method and Description |
---|---|
Time |
RuntimeClock.scheduleAlarm(int offset,
EventHandler<Alarm> handler)
Schedule a new Alarm event in `offset` milliseconds into the future,
and supply an event handler to be called at that time.
|
Modifier and Type | Method and Description |
---|---|
long |
Timer.getDuration(Time time)
Get the number of milliseconds between current time as tracked by the Timer implementation
and the given event.
|
long |
RealTimer.getDuration(Time time)
Get the number of milliseconds from current system time to the given event.
|
long |
LogicalTimer.getDuration(Time time)
Get the number of milliseconds between current time as tracked by the Timer implementation
and a given event.
|
boolean |
Timer.isReady(Time time)
Check if the event with a given timestamp has occurred, according to the timer.
|
boolean |
RealTimer.isReady(Time time)
Check if the event with a given timestamp has occurred.
|
boolean |
LogicalTimer.isReady(Time time)
Check if the event with a given timestamp has occurred, according to the timer.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientAlarm
An event for client-created alarm.
|
class |
IdleClock
An event when there is no scheduled event.
|
class |
RuntimeAlarm
An event for non-client alarm.
|
class |
RuntimeStart
An event for a runtime started.
|
class |
RuntimeStop
An event for a runtime stopped.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.