Class DropwizardHealthMonitor
java.lang.Object
io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor<io.appform.ranger.core.healthcheck.HealthcheckStatus>
io.appform.ranger.discovery.bundle.monitors.DropwizardHealthMonitor
- All Implemented Interfaces:
io.appform.ranger.core.healthservice.monitor.Monitor<io.appform.ranger.core.healthcheck.HealthcheckStatus>,Runnable
public class DropwizardHealthMonitor
extends io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor<io.appform.ranger.core.healthcheck.HealthcheckStatus>
This monitor calls dropwizard healthchecks every few secs.
-
Field Summary
Fields inherited from class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
name -
Constructor Summary
ConstructorsConstructorDescriptionDropwizardHealthMonitor(io.appform.ranger.core.healthservice.TimeEntity runInterval, long stalenessAllowedInMillis, io.dropwizard.setup.Environment environment) -
Method Summary
Methods inherited from class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
disable, enable, getHealthStatus, getName, getRunInterval, hasValidUpdatedTime, isDisabled, run
-
Constructor Details
-
DropwizardHealthMonitor
public DropwizardHealthMonitor(io.appform.ranger.core.healthservice.TimeEntity runInterval, long stalenessAllowedInMillis, io.dropwizard.setup.Environment environment)
-
-
Method Details
-
monitor
public io.appform.ranger.core.healthcheck.HealthcheckStatus monitor()
-