Package io.smallrye.health.checks
Class NonHeapMemoryHealthCheck
- java.lang.Object
-
- io.smallrye.health.checks.AbstractHeapMemoryHealthCheck
-
- io.smallrye.health.checks.NonHeapMemoryHealthCheck
-
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
public class NonHeapMemoryHealthCheck extends AbstractHeapMemoryHealthCheck
Health check implementation that is checking memory usage against available memory@Produces @ApplicationScoped @Liveness HealthCheck check1() { return new NonHeapMemoryHealthCheck(); }
-
-
Constructor Summary
Constructors Constructor Description NonHeapMemoryHealthCheck()NonHeapMemoryHealthCheck(double maxPercentage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.health.HealthCheckResponsecall()-
Methods inherited from class io.smallrye.health.checks.AbstractHeapMemoryHealthCheck
getHealthCheckResponse
-
-