Interface HealthCheckRunner
-
- All Known Implementing Classes:
DefaultHealthCheckRunner
public interface HealthCheckRunnerThe entry point for runningHealthChecks. Not to be confused withHealthCheckExecutor, which is an internal component of this runner.- Since:
- 6.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisComplete()Indicates whether all possible health checks have been run, across allLifecyclePhases.voidrunHealthChecks(LifecyclePhase lifecyclePhase)Runs theHealthChecks in the givenLifecyclePhase.
-
-
-
Method Detail
-
isComplete
boolean isComplete()
Indicates whether all possible health checks have been run, across allLifecyclePhases.- Returns:
falseif this is not the last phase or the current phase has some checks left to run- See Also:
LifecyclePhase.isLast()
-
runHealthChecks
void runHealthChecks(LifecyclePhase lifecyclePhase)
Runs theHealthChecks in the givenLifecyclePhase.- Parameters:
lifecyclePhase- the lifecycle phase
-
-