Package io.helidon.microprofile.health
Interface HealthCheckProvider
-
public interface HealthCheckProviderA provider ofHealthCheckinstances.Instances of
HealthCheckProviderare discovered by theHealthMpServiceusing theHelidonServiceLoaderand all of theHealthCheckinstances are added to the health endpoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description List<org.eclipse.microprofile.health.HealthCheck>healthChecks()Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()orlivenessChecks()default List<org.eclipse.microprofile.health.HealthCheck>livenessChecks()Return the provided livenessHealthChecks.default List<org.eclipse.microprofile.health.HealthCheck>readinessChecks()Return the provided readinessHealthChecks.
-
-
-
Method Detail
-
healthChecks
@Deprecated List<org.eclipse.microprofile.health.HealthCheck> healthChecks()
Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()orlivenessChecks()Return the providedHealthChecks.- Returns:
- the
HealthChecks
-
readinessChecks
default List<org.eclipse.microprofile.health.HealthCheck> readinessChecks()
Return the provided readinessHealthChecks.- Returns:
- the
HealthChecks
-
livenessChecks
default List<org.eclipse.microprofile.health.HealthCheck> livenessChecks()
Return the provided livenessHealthChecks.- Returns:
- the
HealthChecks
-
-