Uses of Class
ratpack.core.health.HealthCheck.Result
-
Packages that use HealthCheck.Result Package Description ratpack.core.health Health checks report on the status of key components in the system and are generally used for monitoring and reporting.ratpack.hikari Provides integration with HikariCP library. -
-
Uses of HealthCheck.Result in ratpack.core.health
Methods in ratpack.core.health that return HealthCheck.Result Modifier and Type Method Description static HealthCheck.Result
HealthCheck.Result. healthy()
Creates a healthy result, with no message.static HealthCheck.Result
HealthCheck.Result. healthy(String message)
Creates a healthy result, with the given message.static HealthCheck.Result
HealthCheck.Result. healthy(String message, Object... args)
Creates a healthy result, with the given message.static HealthCheck.Result
HealthCheck.Result. unhealthy(String message)
Creates an unhealthy result, with the given message.static HealthCheck.Result
HealthCheck.Result. unhealthy(String message, Object... args)
Creates an unhealthy result, with the given message.static HealthCheck.Result
HealthCheck.Result. unhealthy(String message, Throwable error)
Creates an unhealthy result, with the given exception and message.static HealthCheck.Result
HealthCheck.Result. unhealthy(Throwable error)
Creates an unhealthy result, with the given exception.Methods in ratpack.core.health that return types with arguments of type HealthCheck.Result Modifier and Type Method Description Promise<HealthCheck.Result>
HealthCheck. check(Registry registry)
Checks the health of the component, providing a promise for the result.com.google.common.collect.ImmutableSortedMap<String,HealthCheck.Result>
HealthCheckResults. getResults()
The results.Method parameters in ratpack.core.health with type arguments of type HealthCheck.Result Modifier and Type Method Description static HealthCheck
HealthCheck. of(String name, Function<? super Registry,? extends Promise<HealthCheck.Result>> func)
Convenience factory for health check implementations.Constructor parameters in ratpack.core.health with type arguments of type HealthCheck.Result Constructor Description HealthCheckResults(com.google.common.collect.ImmutableSortedMap<String,HealthCheck.Result> results)
Constructor. -
Uses of HealthCheck.Result in ratpack.hikari
Methods in ratpack.hikari that return types with arguments of type HealthCheck.Result Modifier and Type Method Description Promise<HealthCheck.Result>
HikariHealthCheck. check(Registry registry)
-