Package org.apache.camel.health
Interface HealthCheck.Result
-
- Enclosing interface:
- HealthCheck
public static interface HealthCheck.ResultResponse to a health check invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthCheckgetCheck()TheHealthCheckassociated 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.StategetState()The state of the service.
-
-
-
Method Detail
-
getCheck
HealthCheck getCheck()
TheHealthCheckassociated 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.
-
-