Class DefaultHealthFactory

java.lang.Object
io.dropwizard.health.DefaultHealthFactory
All Implemented Interfaces:
HealthFactory, Discoverable

public class DefaultHealthFactory extends Object implements HealthFactory
  • Constructor Details

    • DefaultHealthFactory

      public DefaultHealthFactory()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getHealthCheckConfigurations

      public List<HealthCheckConfiguration> getHealthCheckConfigurations()
    • setHealthCheckConfigurations

      public void setHealthCheckConfigurations(List<HealthCheckConfiguration> healthChecks)
    • isInitialOverallState

      public boolean isInitialOverallState()
    • setInitialOverallState

      public void setInitialOverallState(boolean initialOverallState)
    • isDelayedShutdownHandlerEnabled

      public boolean isDelayedShutdownHandlerEnabled()
    • setDelayedShutdownHandlerEnabled

      public void setDelayedShutdownHandlerEnabled(boolean delayedShutdownHandlerEnabled)
    • getShutdownWaitPeriod

      public Duration getShutdownWaitPeriod()
    • setShutdownWaitPeriod

      public void setShutdownWaitPeriod(Duration shutdownWaitPeriod)
    • getHealthCheckUrlPaths

      public List<String> getHealthCheckUrlPaths()
    • setHealthCheckUrlPaths

      public void setHealthCheckUrlPaths(List<String> healthCheckUrlPaths)
    • getHealthResponseProviderFactory

      public HealthResponseProviderFactory getHealthResponseProviderFactory()
    • setHealthResponseProviderFactory

      public void setHealthResponseProviderFactory(HealthResponseProviderFactory healthResponseProviderFactory)
    • getHealthResponderFactory

      public HealthResponderFactory getHealthResponderFactory()
    • setHealthResponderFactory

      public void setHealthResponderFactory(HealthResponderFactory healthResponderFactory)
    • configure

      public void configure(LifecycleEnvironment lifecycle, ServletEnvironment servlets, JerseyEnvironment jersey, HealthEnvironment health, com.fasterxml.jackson.databind.ObjectMapper mapper, String name)
      Specified by:
      configure in interface HealthFactory