Interface HealthCheckRunner

All Known Implementing Classes:
DefaultHealthCheckRunner

public interface HealthCheckRunner
The entry point for running HealthChecks. Not to be confused with HealthCheckExecutor, which is an internal component of this runner.
Since:
6.6.0
  • Method Details

    • isComplete

      boolean isComplete()
      Indicates whether all possible health checks have been run, across all LifecyclePhases.
      Returns:
      false if this is not the last phase or the current phase has some checks left to run
      See Also:
    • runHealthChecks

      void runHealthChecks(LifecyclePhase lifecyclePhase)
      Runs the HealthChecks in the given LifecyclePhase.
      Parameters:
      lifecyclePhase - the lifecycle phase