Class KeycloakReadyHealthCheck
java.lang.Object
org.keycloak.quarkus.runtime.services.health.KeycloakReadyHealthCheck
- All Implemented Interfaces:
io.smallrye.health.api.AsyncHealthCheck
@Readiness
@ApplicationScoped
public class KeycloakReadyHealthCheck
extends Object
implements io.smallrye.health.api.AsyncHealthCheck
Keycloak Healthcheck Readiness Probe.
Performs a hybrid between the passive and the active mode. If there are no healthy connections in the pool,
it invokes the standard DataSourceHealthCheck that creates a new connection and checks if it's valid.
While the check for healthy connections is non-blocking, the standard check is blocking, so it needs to be wrapped.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse>call()
-
Constructor Details
-
KeycloakReadyHealthCheck
public KeycloakReadyHealthCheck()
-
-
Method Details
-
call
public io.smallrye.mutiny.Uni<org.eclipse.microprofile.health.HealthCheckResponse> call()- Specified by:
callin interfaceio.smallrye.health.api.AsyncHealthCheck
-