Package com.codahale.metrics.jvm
Class JvmAttributeGaugeSet
- java.lang.Object
-
- com.codahale.metrics.jvm.JvmAttributeGaugeSet
-
-
Constructor Summary
Constructors Constructor Description JvmAttributeGaugeSet()
Creates a new set of gauges.JvmAttributeGaugeSet(RuntimeMXBean runtime)
Creates a new set of gauges with the givenRuntimeMXBean
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Metric>
getMetrics()
A map of metric names to metrics.
-
-
-
Constructor Detail
-
JvmAttributeGaugeSet
public JvmAttributeGaugeSet()
Creates a new set of gauges.
-
JvmAttributeGaugeSet
public JvmAttributeGaugeSet(RuntimeMXBean runtime)
Creates a new set of gauges with the givenRuntimeMXBean
.- Parameters:
runtime
- JVM management interface with access to system properties
-
-