public class AsyncHealthCheckDecorator extends HealthCheck implements Runnable
HealthCheck.Result, HealthCheck.ResultBuilder| Modifier and Type | Method and Description |
|---|---|
protected HealthCheck.Result |
check()
Perform a check of the application component.
|
HealthCheck |
getHealthCheck() |
void |
run() |
clock, executeprotected HealthCheck.Result check() throws Exception
HealthCheckcheck in class HealthCheckHealthCheck.Result; otherwise, an unhealthy HealthCheck.Result with a descriptive error message or exceptionException - if there is an unhandled error during the health check; this will result in
a failed health checkpublic HealthCheck getHealthCheck()
Copyright © 2021. All rights reserved.