Package org.apache.unomi.healthcheck
Class HealthCheckService
java.lang.Object
org.apache.unomi.healthcheck.HealthCheckService
Health check service that aggregates health checks from multiple providers and ensure asynchronous execution. The service is
aware of any configuration changes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
protected void
bind
(HealthCheckProvider provider) check()
void
protected void
unbind
(HealthCheckProvider provider)
-
Field Details
-
httpService
protected org.osgi.service.http.HttpService httpService
-
-
Constructor Details
-
HealthCheckService
public HealthCheckService()
-
-
Method Details
-
activate
public void activate() throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException- Throws:
javax.servlet.ServletException
org.osgi.service.http.NamespaceException
-
deactivate
public void deactivate() -
bind
-
unbind
-
check
- Throws:
RejectedExecutionException
-