Class HealthChecks

java.lang.Object
io.helidon.health.checks.HealthChecks

public final class HealthChecks extends Object
Utility class for built-in health checks.
See Also:
  • Method Details

    • deadlockCheck

      public static HealthCheck deadlockCheck()
      Deadlock health check.
      Returns:
      deadlock health check
    • diskSpaceCheck

      public static HealthCheck diskSpaceCheck()
      Disk space health check.
      Returns:
      disk space health check with default configuration
      See Also:
    • diskSpaceCheck

      public static HealthCheck diskSpaceCheck(Config config)
      Disk space health check, set up via config.
      Parameters:
      config - configuration to use in setting up the disk space check
      Returns:
      disk space health check with default configuration
      See Also:
    • heapMemoryCheck

      public static HeapMemoryHealthCheck heapMemoryCheck()
      Memory health check.
      Returns:
      memory health check with default configuration
      See Also:
    • heapMemoryCheck

      public static HeapMemoryHealthCheck heapMemoryCheck(Config config)
      Memory health check.
      Parameters:
      config - the configuration to use in setting up the heap memory check
      Returns:
      memory health check with default configuration
      See Also:
    • healthChecks

      public static HealthCheck[] healthChecks()
      Built-in health checks.
      Returns:
      built-in health checks
    • healthChecks

      public static HealthCheck[] healthChecks(Config config)
      Built-in health checks, set up using "helidon.health" configuration.
      Parameters:
      config - configuration rooted at "helidon.health"
      Returns:
      built-in health checks, set up using the provided configuration