Package com.codahale.metrics.jvm
Class BufferPoolMetricSet
java.lang.Object
com.codahale.metrics.jvm.BufferPoolMetricSet
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]
private static final org.slf4j.Logger
private final MBeanServer
private static final String[]
private static final String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA map of metric names to metrics.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ATTRIBUTES
-
NAMES
-
POOLS
-
mBeanServer
-
-
Constructor Details
-
BufferPoolMetricSet
-
-
Method Details
-
getMetrics
Description copied from interface:MetricSet
A map of metric names to metrics.- Specified by:
getMetrics
in interfaceMetricSet
- Returns:
- the metrics
-