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 |
HealthCheck.Result.getCheck()
The
HealthCheck associated to this response. |
Modifier and Type | Method and Description |
---|---|
default Optional<HealthCheck> |
HealthCheckRegistry.getCheck(String id)
Returns the check identified by the given
id if available. |
Stream<HealthCheck> |
HealthCheckRepository.stream()
Returns a sequential
Stream with the known HealthCheck
as its source. |
Modifier and Type | Method and Description |
---|---|
static String |
HealthCheckHelper.getGroup(HealthCheck check)
Get the group of the given check or an empty string if the group is not set.
|
void |
HealthCheckService.notify(HealthCheck check,
HealthCheck.Result result)
Notify the service that a check has changed status.
|
static HealthCheckResultBuilder |
HealthCheckResultBuilder.on(HealthCheck check) |
boolean |
HealthCheckRegistry.register(HealthCheck check)
Registers a service
HealthCheck . |
boolean |
HealthCheckFilter.test(HealthCheck check)
Determine if the given
HealthCheck has to be filtered out. |
boolean |
HealthCheckRegistry.unregister(HealthCheck check)
Unregisters a service
HealthCheck . |
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.
|
static Collection<HealthCheck.Result> |
HealthCheckHelper.invoke(CamelContext camelContext,
Function<HealthCheck,Map<String,Object>> optionsSupplier)
Invokes the checks and returns a collection of results.
|
static Collection<HealthCheck.Result> |
HealthCheckHelper.invoke(CamelContext camelContext,
Function<HealthCheck,Map<String,Object>> optionsSupplier,
HealthCheckFilter filter)
Invokes the checks and returns a collection of results.
|
void |
HealthCheckService.removeStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer)
Remove the state change listener.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHealthCheck |
class |
ContextHealthCheck |
class |
RouteHealthCheck |
Modifier and Type | Method and Description |
---|---|
Stream<HealthCheck> |
RegistryRepository.stream() |
Stream<HealthCheck> |
RoutesHealthCheckRepository.stream() |
Stream<HealthCheck> |
DefaultHealthCheckRegistry.stream() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHealthCheckService.notify(HealthCheck check,
HealthCheck.Result result) |
boolean |
DefaultHealthCheckRegistry.register(HealthCheck check) |
boolean |
DefaultHealthCheckRegistry.unregister(HealthCheck check) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHealthCheckService.addStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer) |
void |
DefaultHealthCheckService.removeStateChangeListener(BiConsumer<HealthCheck.State,HealthCheck> consumer) |
Apache Camel