Interface StateTransitionManager
- All Known Implementing Classes:
DefaultStateTransitionManager
public interface StateTransitionManager
The
StateTransitionManager decides on whether AdaptiveScheduler state transition
should happen or not.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe interface that can be used by theStateTransitionManagerto communicate with the underlying system. -
Method Summary
Modifier and TypeMethodDescriptiondefault 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.voidIs called when any previous observed environment changes shall be verified possibly triggering a state transition operation.
-
Method Details
-
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.
-