Modifier and Type | Interface and Description |
---|---|
static interface |
HealthCheck.Result
Response to an health check invocation.
|
static class |
HealthCheck.State |
Modifier and Type | Method and Description |
---|---|
default HealthCheck.Result |
call()
Invoke the check.
|
HealthCheck.Result |
call(Map<String,Object> options)
Invoke the check.
|
HealthCheckConfiguration |
getConfiguration()
Return the configuration associated with this
HealthCheck . |
default Map<String,Object> |
getMetaData()
Return meta data associated with this
HealthCheck . |
default int |
getOrder()
Gets the order.
|
default boolean |
isLiveness()
Whether this health check can be used for liveness checks
|
default boolean |
isReadiness()
Whether this health check can be used for readiness checks
|
default int getOrder()
Ordered
Integer.MAX_VALUE
or eg Ordered.LOWEST
.default Map<String,Object> getMetaData()
HealthCheck
.default boolean isReadiness()
default boolean isLiveness()
HealthCheckConfiguration getConfiguration()
HealthCheck
.default HealthCheck.Result call()
call(Map)
HealthCheck.Result call(Map<String,Object> options)
Apache Camel