public class DefaultHealthFactory extends Object implements HealthFactory
| Constructor and Description |
|---|
DefaultHealthFactory() |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public List<HealthCheckConfiguration> getHealthCheckConfigurations()
public void setHealthCheckConfigurations(List<HealthCheckConfiguration> healthChecks)
public boolean isInitialOverallState()
public void setInitialOverallState(boolean initialOverallState)
public boolean isDelayedShutdownHandlerEnabled()
public void setDelayedShutdownHandlerEnabled(boolean delayedShutdownHandlerEnabled)
public Duration getShutdownWaitPeriod()
public void setShutdownWaitPeriod(Duration shutdownWaitPeriod)
public HealthResponseProviderFactory getHealthResponseProviderFactory()
public void setHealthResponseProviderFactory(HealthResponseProviderFactory healthResponseProviderFactory)
public HealthResponderFactory getHealthResponderFactory()
public void setHealthResponderFactory(HealthResponderFactory healthResponderFactory)
public List<HealthCheckConfiguration> getHealthChecks()
public void setHealthChecks(List<HealthCheckConfiguration> healthChecks)
public void configure(LifecycleEnvironment lifecycle, ServletEnvironment servlets, JerseyEnvironment jersey, HealthEnvironment health, com.fasterxml.jackson.databind.ObjectMapper mapper, String name)
configure in interface HealthFactoryCopyright © 2011. All rights reserved.