-
- All Known Implementing Classes:
DefaultExecutionContext
public interface ExecutionContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExecutionContext.ClockListenerstatic classExecutionContext.Statestatic interfaceExecutionContext.StateListener
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddClockListener(ExecutionContext.ClockListener listener)voidaddStateListener(ExecutionContext.StateListener listener)default OptionalLonggetPeriod()longgetStartTime()ExecutionContext.StategetState()longgetTime()voidremoveClockListener(ExecutionContext.ClockListener listener)voidremoveStateListener(ExecutionContext.StateListener listener)
-
-
-
Method Detail
-
addStateListener
void addStateListener(ExecutionContext.StateListener listener)
-
removeStateListener
void removeStateListener(ExecutionContext.StateListener listener)
-
addClockListener
void addClockListener(ExecutionContext.ClockListener listener)
-
removeClockListener
void removeClockListener(ExecutionContext.ClockListener listener)
-
getTime
long getTime()
-
getStartTime
long getStartTime()
-
getState
ExecutionContext.State getState()
-
getPeriod
default OptionalLong getPeriod()
-
-