Package | Description |
---|---|
org.apache.camel.health |
Camel Health Check support
|
org.apache.camel.impl.health |
Camel Health Check implementations.
|
Modifier and Type | Method and Description |
---|---|
HealthCheck.State |
HealthCheck.Result.getState()
The state of the service.
|
HealthCheck.State |
HealthCheckResultBuilder.state() |
static HealthCheck.State |
HealthCheck.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheck.State[] |
HealthCheck.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HealthCheckResultBuilder |
HealthCheckResultBuilder.state(HealthCheck.State state) |
Modifier and Type | Method and Description |
---|---|
void |
HealthCheckService.addStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer)
Add a listener to invoke when the state of a check change.
|
void |
HealthCheckService.removeStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer)
Remove the state change listener.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultHealthCheckService.addStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer) |
void |
DefaultHealthCheckService.removeStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer) |
Apache Camel