public class HealthCheckImpl extends java.lang.Object implements HealthCheck
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
getEndpoint() |
long |
getMaxWaitFor()
Get the maximum wait duration (in milliseconds) to wait for health check HealthStatus reach
stable state.
|
HealthStatus |
getStatus() |
void |
start() |
void |
stop() |
public Endpoint getEndpoint()
getEndpoint in interface HealthCheckpublic HealthStatus getStatus()
getStatus in interface HealthCheckpublic void start()
start in interface HealthCheckpublic void stop()
stop in interface HealthCheckpublic long getMaxWaitFor()
HealthCheckTransition to stable state means either HEALTHY or UNHEALTHY. UNKNOWN is not considered stable. This is calculated based on the health check strategy's timeout, retry delay and retry count.
getMaxWaitFor in interface HealthCheckCopyright © 2025. All rights reserved.