Class 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 Detail

      • HealthCheckConfiguration

        public HealthCheckConfiguration()
    • 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)