Package io.helidon.microprofile.health
Interface HealthCheckProvider
-
public interface HealthCheckProvider
A provider ofHealthCheck
instances.Instances of
HealthCheckProvider
are discovered by theHealthCdiExtension
using theHelidonServiceLoader
and all of theHealthCheck
instances are added to the health endpoint.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<HealthCheck>
livenessChecks()
Return the provided livenessHealthCheck
s.default List<HealthCheck>
readinessChecks()
Return the provided readinessHealthCheck
s.
-
-
-
Method Detail
-
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
-
-