Interface HealthCheckRunner
-
- All Known Implementing Classes:
DefaultHealthCheckRunner
public interface HealthCheckRunner
The entry point for runningHealthCheck
s. 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 boolean
isComplete()
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.void
runHealthChecks(LifecyclePhase lifecyclePhase)
Runs theHealthCheck
s in the givenLifecyclePhase
.
-
-
-
Method Detail
-
isComplete
boolean isComplete()
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.- Returns:
false
if 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 theHealthCheck
s in the givenLifecyclePhase
.- Parameters:
lifecyclePhase
- the lifecycle phase
-
-