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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The interface that can be used by the StateTransitionManager to communicate with the underlying system.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Is called when the state transition manager should be closed.
    void
    Is called if the environment changed in a way that a state transition could be considered.
    void
    Is 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.