Package com.codahale.metrics.jvm
Class MemoryUsageGaugeSet
java.lang.Object
com.codahale.metrics.jvm.MemoryUsageGaugeSet
A set of gauges for JVM memory usage, including stats on heap vs. non-heap memory, plus
GC-specific memory pools.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<MemoryPoolMXBean> private final MemoryMXBeanprivate static final Pattern -
Constructor Summary
ConstructorsConstructorDescriptionMemoryUsageGaugeSet(MemoryMXBean mxBean, Collection<MemoryPoolMXBean> memoryPools) -
Method Summary
Modifier and TypeMethodDescriptionA map of metric names to metrics.
-
Field Details
-
WHITESPACE
-
mxBean
-
memoryPools
-
-
Constructor Details
-
MemoryUsageGaugeSet
public MemoryUsageGaugeSet() -
MemoryUsageGaugeSet
-
-
Method Details
-
getMetrics
Description copied from interface:MetricSetA map of metric names to metrics.- Specified by:
getMetricsin interfaceMetricSet- Returns:
- the metrics
-