Class BufferPoolMetricSet

java.lang.Object
io.dropwizard.metrics5.jvm.BufferPoolMetricSet
All Implemented Interfaces:
io.dropwizard.metrics5.Metric, io.dropwizard.metrics5.MetricSet

public class BufferPoolMetricSet extends Object implements io.dropwizard.metrics5.MetricSet
A set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.

These JMX objects are only available on Java 7 and above.

  • Constructor Details

    • BufferPoolMetricSet

      public BufferPoolMetricSet(MBeanServer mBeanServer)
  • Method Details

    • getMetrics

      public Map<io.dropwizard.metrics5.MetricName,io.dropwizard.metrics5.Metric> getMetrics()
      Specified by:
      getMetrics in interface io.dropwizard.metrics5.MetricSet