Package org.apache.camel.health
Interface HealthCheckRepository
-
-
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.Stream<HealthCheck>
stream()
Returns a sequentialStream
with the knownHealthCheck
as its source.
-
-
-
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.
-
stream
Stream<HealthCheck> stream()
Returns a sequentialStream
with the knownHealthCheck
as its source.
-
getCheck
default Optional<HealthCheck> getCheck(String id)
Returns the check identified by the givenid
if available.
-
-