Package io.helidon.microprofile.health
Interface HealthCheckProvider
-
public interface HealthCheckProvider
A provider ofHealthCheck
instances.Instances of
HealthCheckProvider
are discovered by theHealthMpService
using theHelidonServiceLoader
and all of theHealthCheck
instances are added to the health endpoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description List<HealthCheck>
healthChecks()
Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()
orlivenessChecks()
default List<HealthCheck>
livenessChecks()
Return the provided livenessHealthCheck
s.default List<HealthCheck>
readinessChecks()
Return the provided readinessHealthCheck
s.
-
-
-
Method Detail
-
healthChecks
@Deprecated List<HealthCheck> healthChecks()
Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()
orlivenessChecks()
Return the providedHealthCheck
s.- Returns:
- the
HealthCheck
s
-
readinessChecks
default List<HealthCheck> readinessChecks()
Return the provided readinessHealthCheck
s.- Returns:
- the
HealthCheck
s
-
livenessChecks
default List<HealthCheck> livenessChecks()
Return the provided livenessHealthCheck
s.- Returns:
- the
HealthCheck
s
-
-