Package io.helidon.health.checks
Class HealthChecks
- java.lang.Object
-
- io.helidon.health.checks.HealthChecks
-
public final class HealthChecks extends Object
Utility class for built-inhealth checks
.- See Also:
healthChecks()
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthCheck
deadlockCheck()
Deadlock health check.static HealthCheck
diskSpaceCheck()
Disk space health check.static HealthCheck[]
healthChecks()
Built-in health checks.static HeapMemoryHealthCheck
heapMemoryCheck()
Memory health check.
-
-
-
Method Detail
-
deadlockCheck
public static HealthCheck deadlockCheck()
Deadlock health check.- Returns:
- deadlock health check
- See Also:
HealthSupport.Builder.addLiveness(org.eclipse.microprofile.health.HealthCheck...)
-
diskSpaceCheck
public static HealthCheck diskSpaceCheck()
Disk space health check.- Returns:
- disk space health check with default configuration
- See Also:
HealthSupport.Builder.addLiveness(org.eclipse.microprofile.health.HealthCheck...)
,DiskSpaceHealthCheck.builder()
-
heapMemoryCheck
public static HeapMemoryHealthCheck heapMemoryCheck()
Memory health check.- Returns:
- memory health check with default configuration
- See Also:
HealthSupport.Builder.addLiveness(org.eclipse.microprofile.health.HealthCheck...)
,HeapMemoryHealthCheck.builder()
-
healthChecks
public static HealthCheck[] healthChecks()
Built-in health checks.- Returns:
- built-in health checks to be configured with
HealthSupport
- See Also:
HealthSupport.Builder.addLiveness(org.eclipse.microprofile.health.HealthCheck...)
-
-