Package org.apache.camel.health
Interface HealthCheckRepository
- All Superinterfaces:
HasHealthChecks,HasId
- All Known Subinterfaces:
WritableHealthCheckRepository
A repository for health checks.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<HealthCheck> Returns the check identified by the givenidif available.booleanSet if the checks associated to this repository is enabled or not.voidsetEnabled(boolean enabled) Set if the checks associated to this repository is enabled or not.Methods inherited from interface org.apache.camel.health.HasHealthChecks
stream
-
Method Details
-
isEnabled
boolean isEnabled()Set if the checks associated to this repository is enabled or not. -
setEnabled
void setEnabled(boolean enabled) Set if the checks associated to this repository is enabled or not. -
getCheck
Returns the check identified by the givenidif available.
-