Package io.dropwizard.setup
Class HealthCheckConfiguration
- java.lang.Object
-
- io.dropwizard.setup.HealthCheckConfiguration
-
public class HealthCheckConfiguration extends Object
A factory for configuring the health check sub-system for the environment. Configuration Parameters:Name Default Description 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 intgetMaxThreads()intgetMinThreads()intgetWorkQueueSize()voidsetMaxThreads(int maxThreads)voidsetMinThreads(int minThreads)voidsetWorkQueueSize(int workQueueSize)StringtoString()
-
-
-
Method Detail
-
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)
-
-