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

      • NonHeapMemoryHealthCheck

        public NonHeapMemoryHealthCheck()
      • NonHeapMemoryHealthCheck

        public NonHeapMemoryHealthCheck​(double maxPercentage)
    • Method Detail

      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()