Class ServiceHealthAggregator

java.lang.Object
io.appform.ranger.core.healthservice.ServiceHealthAggregator
All Implemented Interfaces:
Healthcheck, HealthService<HealthcheckStatus>

public class ServiceHealthAggregator extends Object implements HealthService<HealthcheckStatus>, Healthcheck
This is a simple HealthService implementation, which can be used to register a set of IsolatedHealthMonitors and get an aggregated health of the service. The aggregated health is maintained by scheduling and running the set of registered (enabled) monitors at regular intervals.