Package org.apache.camel.health
Interface HealthCheck.Result
-
- Enclosing interface:
- HealthCheck
public static interface HealthCheck.Result
Response to a health check invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthCheck
getCheck()
TheHealthCheck
associated to this response.Map<String,Object>
getDetails()
A key/value combination of details.Optional<Throwable>
getError()
An error associated to the result, used to provide the error associated to unhealthy services.Optional<String>
getMessage()
A message associated to the result, used to provide more information for unhealthy services.HealthCheck.State
getState()
The state of the service.
-
-
-
Method Detail
-
getCheck
HealthCheck getCheck()
TheHealthCheck
associated to this response.
-
getState
HealthCheck.State getState()
The state of the service.
-
getMessage
Optional<String> getMessage()
A message associated to the result, used to provide more information for unhealthy services.
-
getError
Optional<Throwable> getError()
An error associated to the result, used to provide the error associated to unhealthy services.
-
-