Interface StateTransitionManager
-
- All Known Implementing Classes:
DefaultStateTransitionManager
public interface StateTransitionManagerTheStateTransitionManagerdecides on whetherAdaptiveSchedulerstate transition should happen or not.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStateTransitionManager.ContextThe interface that can be used by theStateTransitionManagerto communicate with the underlying system.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()Is called when the state transition manager should be closed.voidonChange()Is called if the environment changed in a way that a state transition could be considered.voidonTrigger()Is called when any previous observed environment changes shall be verified possibly triggering a state transition operation.
-
-
-
Method Detail
-
onChange
void onChange()
Is called if the environment changed in a way that a state transition could be considered.
-
onTrigger
void onTrigger()
Is called when any previous observed environment changes shall be verified possibly triggering a state transition operation.
-
close
default void close()
Is called when the state transition manager should be closed.
-
-