Class DropwizardServerStartupCheck
java.lang.Object
io.appform.ranger.discovery.bundle.monitors.DropwizardServerStartupCheck
- All Implemented Interfaces:
io.appform.ranger.core.healthcheck.Healthcheck
public class DropwizardServerStartupCheck
extends Object
implements io.appform.ranger.core.healthcheck.Healthcheck
This healthcheck listens to server started event to mark service healthy on ranger.
-
Constructor Summary
ConstructorsConstructorDescriptionDropwizardServerStartupCheck(io.dropwizard.setup.Environment environment, DropwizardServerStatus serverStatus) -
Method Summary
-
Constructor Details
-
DropwizardServerStartupCheck
public DropwizardServerStartupCheck(io.dropwizard.setup.Environment environment, DropwizardServerStatus serverStatus)
-
-
Method Details
-
check
public io.appform.ranger.core.healthcheck.HealthcheckStatus check()- Specified by:
checkin interfaceio.appform.ranger.core.healthcheck.Healthcheck
-