public interface 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() |
Endpoint getEndpoint()
HealthStatus getStatus()
void stop()
void start()
long getMaxWaitFor()
Transition 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.
Copyright © 2025. All rights reserved.