Interface SupervisorStateManager.State

    • Method Detail

      • isHealthy

        boolean isHealthy()
        If we are in this state, is the supervisor healthy or unhealthy?
      • isFirstRunOnly

        boolean isFirstRunOnly()
        It may be helpful to provide more detailed state information (e.g. CONNECTING_TO_STREAM, CREATING_TASKS, etc.) during the first run of the supervisor so that if the supervisor is unable to complete the run, we have information about what stage it was in when it failed. Once the supervisor is stable, we may not be as concerned about all the stages it cycles through, and just want to know if it's healthy or unhealthy. This flag indicates if the state should only be accepted prior to having completed a successful run.