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 givenidif available.booleanisEnabled()Set 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.Stream<HealthCheck>stream()Returns a sequentialStreamwith the knownHealthCheckas 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 sequentialStreamwith the knownHealthCheckas its source.
-
getCheck
default Optional<HealthCheck> getCheck(String id)
Returns the check identified by the givenidif available.
-
-