Package io.smallrye.health.checks
Class AbstractHeapMemoryHealthCheck
java.lang.Object
io.smallrye.health.checks.AbstractHeapMemoryHealthCheck
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
- Direct Known Subclasses:
HeapMemoryHealthCheck,NonHeapMemoryHealthCheck
public abstract class AbstractHeapMemoryHealthCheck
extends Object
implements org.eclipse.microprofile.health.HealthCheck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.microprofile.health.HealthCheckResponsegetHealthCheckResponse(Function<MemoryMXBean, MemoryUsage> memoryUsageFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.health.HealthCheck
call
-
Constructor Details
-
AbstractHeapMemoryHealthCheck
public AbstractHeapMemoryHealthCheck() -
AbstractHeapMemoryHealthCheck
public AbstractHeapMemoryHealthCheck(double maxPercentage)
-
-
Method Details
-
getHealthCheckResponse
protected org.eclipse.microprofile.health.HealthCheckResponse getHealthCheckResponse(Function<MemoryMXBean, MemoryUsage> memoryUsageFunction)
-