Package com.codahale.metrics
Class JvmAttributeGaugeSet
- java.lang.Object
-
- com.codahale.metrics.JvmAttributeGaugeSet
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.management.RuntimeMXBeanruntime
-
Constructor Summary
Constructors Constructor Description JvmAttributeGaugeSet()Creates a new set of gauges.JvmAttributeGaugeSet(java.lang.management.RuntimeMXBean runtime)Creates a new set of gauges with the givenRuntimeMXBean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,Metric>getMetrics()A map of metric names to metrics.
-
-
-
Method Detail
-
getMetrics
public java.util.Map<java.lang.String,Metric> getMetrics()
Description copied from interface:MetricSetA map of metric names to metrics.- Specified by:
getMetricsin interfaceMetricSet- Returns:
- the metrics
-
-