Class InitialDelayChecker
java.lang.Object
io.appform.dropwizard.discovery.bundle.healthchecks.InitialDelayChecker
- All Implemented Interfaces:
com.flipkart.ranger.healthcheck.Healthcheck
public class InitialDelayChecker extends Object implements com.flipkart.ranger.healthcheck.Healthcheck
The following will return healthy only after stipulated time
This will give other bundles etc to startup properly
By the time the node joins the cluster
-
Constructor Summary
Constructors Constructor Description InitialDelayChecker(long initialDelaySeconds) -
Method Summary
Modifier and Type Method Description com.flipkart.ranger.healthcheck.HealthcheckStatuscheck()
-
Constructor Details
-
InitialDelayChecker
public InitialDelayChecker(long initialDelaySeconds)
-
-
Method Details
-
check
public com.flipkart.ranger.healthcheck.HealthcheckStatus check()- Specified by:
checkin interfacecom.flipkart.ranger.healthcheck.Healthcheck
-