Package org.apache.camel.health
Interface HealthCheck.Result
- Enclosing interface:
- HealthCheck
public static interface HealthCheck.Result
Response to a health check invocation.
-
Method Summary
Modifier and TypeMethodDescriptiongetCheck()
TheHealthCheck
associated to this response.A key/value combination of details.getError()
An error associated to the result, used to provide the error associated to unhealthy services.A message associated to the result, used to provide more information for unhealthy services.getState()
The state of the service.
-
Method Details
-
getCheck
HealthCheck getCheck()TheHealthCheck
associated to this response. -
getState
HealthCheck.State getState()The state of the service. -
getMessage
A message associated to the result, used to provide more information for unhealthy services. -
getError
An error associated to the result, used to provide the error associated to unhealthy services. -
getDetails
A key/value combination of details.- Returns:
- a non null details map (empty if no details)
-