Package io.dropwizard.core.setup
Class HealthCheckConfiguration
- java.lang.Object
-
- io.dropwizard.core.setup.HealthCheckConfiguration
-
public class HealthCheckConfiguration extends Object
A factory for configuring the health check sub-system for the environment. Configuration Parameters:Name Default Description servletEnabled true Whether to enable the admin health check servlet. minThreads 1 The minimum number of threads for executing health checks. maxThreads 4 The maximum number of threads for executing health checks. workQueueSize 1 The length of the work queue for health check executions. - Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description HealthCheckConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxThreads()
int
getMinThreads()
int
getWorkQueueSize()
boolean
isServletEnabled()
void
setMaxThreads(int maxThreads)
void
setMinThreads(int minThreads)
void
setServletEnabled(boolean servletEnabled)
void
setWorkQueueSize(int workQueueSize)
String
toString()
-
-
-
Method Detail
-
isServletEnabled
public boolean isServletEnabled()
-
setServletEnabled
public void setServletEnabled(boolean servletEnabled)
-
getMinThreads
public int getMinThreads()
-
setMinThreads
public void setMinThreads(int minThreads)
-
getMaxThreads
public int getMaxThreads()
-
setMaxThreads
public void setMaxThreads(int maxThreads)
-
getWorkQueueSize
public int getWorkQueueSize()
-
setWorkQueueSize
public void setWorkQueueSize(int workQueueSize)
-
-