Class MemoryAllocationExports.AllocationCountingNotificationListener

java.lang.Object
io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
All Implemented Interfaces:
EventListener, NotificationListener
Enclosing class:
MemoryAllocationExports

static class MemoryAllocationExports.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