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<HealthCheck>healthChecks()Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()orlivenessChecks()default List<HealthCheck>livenessChecks()Return the provided livenessHealthChecks.default List<HealthCheck>readinessChecks()Return the provided readinessHealthChecks.
-
-
-
Method Detail
-
healthChecks
@Deprecated List<HealthCheck> healthChecks()
Deprecated.in the new versions of MP Health, we use eitherreadinessChecks()orlivenessChecks()Return the providedHealthChecks.- Returns:
- the
HealthChecks
-
readinessChecks
default List<HealthCheck> readinessChecks()
Return the provided readinessHealthChecks.- Returns:
- the
HealthChecks
-
livenessChecks
default List<HealthCheck> livenessChecks()
Return the provided livenessHealthChecks.- Returns:
- the
HealthChecks
-
-