@FunctionalInterface @Experimental(value="Asynchronous Health Check procedures") public interface AsyncHealthCheck
| Modifier and Type | Method and Description |
|---|---|
io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse> |
call()
Invokes the health check procedure provided by the implementation of this interface.
|
io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse> call()
Uni
propagates the HealthCheckResponse as item. If the returned Uni produces
a failure, the check is considered as failed. Returning null is invalid and considers the
check failed. In addition, returning a Uni propagating a null value as the item
is considered also as a failure.Uni object containing information about the health check resultCopyright © 2018–2022. All rights reserved.