public interface HealthCheckRegistry extends HealthCheckRepository, CamelContextAware
Modifier and Type | Method and Description |
---|---|
boolean |
addRepository(HealthCheckRepository repository)
Add an Health Check repository.
|
default Optional<HealthCheck> |
getCheck(String id)
Returns the check identified by the given
id if available. |
default Collection<String> |
getCheckIDs()
A collection of health check IDs.
|
Collection<HealthCheckRepository> |
getRepositories()
Get a collection of health check repositories.
|
boolean |
register(HealthCheck check)
Registers a service
HealthCheck . |
boolean |
removeRepository(HealthCheckRepository repository)
Remove an Health Check repository.
|
void |
setRepositories(Collection<HealthCheckRepository> repositories)
Set the health check repositories to use..
|
boolean |
unregister(HealthCheck check)
Unregisters a service
HealthCheck . |
stream
getCamelContext, setCamelContext
boolean register(HealthCheck check)
HealthCheck
.boolean unregister(HealthCheck check)
HealthCheck
.void setRepositories(Collection<HealthCheckRepository> repositories)
Collection<HealthCheckRepository> getRepositories()
boolean addRepository(HealthCheckRepository repository)
boolean removeRepository(HealthCheckRepository repository)
default Collection<String> getCheckIDs()
default Optional<HealthCheck> getCheck(String id)
id
if available.Apache Camel