Package org.apache.camel.health
Interface HealthCheckRepository
-
- All Superinterfaces:
HasHealthChecks
,HasId
- All Known Subinterfaces:
WritableHealthCheckRepository
public interface HealthCheckRepository extends HasId, HasHealthChecks
A repository for health checks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<HealthCheck>
getCheck(String id)
Returns the check identified by the givenid
if available.boolean
isEnabled()
Set if the checks associated to this repository is enabled or not.void
setEnabled(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 Detail
-
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
default Optional<HealthCheck> getCheck(String id)
Returns the check identified by the givenid
if available.
-
-