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 MemoryMXBean
private 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:MetricSet
A map of metric names to metrics.- Specified by:
getMetrics
in interfaceMetricSet
- Returns:
- the metrics
-