Uses of Interface
org.apache.camel.health.HealthCheck
-
Packages that use HealthCheck Package Description org.apache.camel.health Camel Health Check support -
-
Uses of HealthCheck in org.apache.camel.health
Methods in org.apache.camel.health with type parameters of type HealthCheck Modifier and Type Method Description static <T extends HealthCheck>
THealthCheckHelper. getHealthCheck(CamelContext context, String id, Class<T> type)
Gets theHealthCheck
by the given id (will resolve from classpath if necessary)Methods in org.apache.camel.health that return HealthCheck Modifier and Type Method Description HealthCheck
HealthCheck.Result. getCheck()
TheHealthCheck
associated to this response.HealthCheck
HealthCheckAware. getHealthCheck()
Gets theHealthCheck
static HealthCheck
HealthCheckHelper. getHealthCheck(CamelContext context, String id)
Gets theHealthCheck
by the given id (will resolve from classpath if necessary)HealthCheck
HealthCheckResolver. resolveHealthCheck(String id)
Resolves the givenHealthCheck
.Methods in org.apache.camel.health that return types with arguments of type HealthCheck Modifier and Type Method Description default Optional<HealthCheck>
HealthCheckRegistry. getCheck(String id)
Returns the check identified by the givenid
if available.default Optional<HealthCheck>
HealthCheckRepository. getCheck(String id)
Returns the check identified by the givenid
if available.Stream<HealthCheck>
HasHealthChecks. stream()
Returns a sequentialStream
with the knownHealthCheck
as its source.Stream<HealthCheck>
HealthCheckRegistry. stream()
Returns a sequentialStream
with the knownHealthCheck
as its source.Methods in org.apache.camel.health with parameters of type HealthCheck Modifier and Type Method Description void
WritableHealthCheckRepository. addHealthCheck(HealthCheck healthCheck)
Adds aHealthCheck
to the repository.boolean
HealthCheckRegistry. isExcluded(HealthCheck healthCheck)
Whether the given health check has been excludedstatic HealthCheckResultBuilder
HealthCheckResultBuilder. on(HealthCheck check)
void
HealthCheckResultStrategy. processResult(HealthCheck check, Map<String,Object> options, HealthCheckResultBuilder builder)
Processes and allows manipulation of the result from theHealthCheck
invocation.void
WritableHealthCheckRepository. removeHealthCheck(HealthCheck healthCheck)
Removes aHealthCheck
from the repository.void
HealthCheckAware. setHealthCheck(HealthCheck healthCheck)
Injects theHealthCheck
Method parameters in org.apache.camel.health with type arguments of type HealthCheck Modifier and Type Method Description 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, Predicate<HealthCheck> filter, String exposureLevel)
Invokes the checks and returns a collection of results.static Collection<HealthCheck.Result>
HealthCheckHelper. invoke(CamelContext camelContext, Function<HealthCheck,Map<String,Object>> optionsSupplier, Predicate<HealthCheck> filter, String exposureLevel)
Invokes the checks and returns a collection of results.static Collection<HealthCheck.Result>
HealthCheckHelper. invoke(CamelContext camelContext, Predicate<HealthCheck> filter)
Invokes the checks and returns a collection of results.
-