Class JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener

java.lang.Object
io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
All Implemented Interfaces:
EventListener, NotificationListener
Enclosing class:
JvmMemoryPoolAllocationMetrics

static class JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener extends Object implements NotificationListener
  • Field Details

    • lastMemoryUsage

      private final Map<String,Long> lastMemoryUsage
    • counter

      private final Counter counter
  • Constructor Details

    • AllocationCountingNotificationListener

      AllocationCountingNotificationListener(Counter counter)
  • Method Details