Package org.apache.camel.health
Interface WritableHealthCheckRepository
-
- All Superinterfaces:
HasHealthChecks
,HasId
,HealthCheckRepository
public interface WritableHealthCheckRepository extends HealthCheckRepository
An interface to represent an object which wishes to be injected with theHealthCheck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addHealthCheck(HealthCheck healthCheck)
Adds aHealthCheck
to the repository.void
removeHealthCheck(HealthCheck healthCheck)
Removes aHealthCheck
from the repository.-
Methods inherited from interface org.apache.camel.health.HasHealthChecks
stream
-
Methods inherited from interface org.apache.camel.health.HealthCheckRepository
getCheck, isEnabled, setEnabled
-
-
-
-
Method Detail
-
addHealthCheck
void addHealthCheck(HealthCheck healthCheck)
Adds aHealthCheck
to the repository.
-
removeHealthCheck
void removeHealthCheck(HealthCheck healthCheck)
Removes aHealthCheck
from the repository.
-
-