Package com.codahale.metrics.jvm
Class JvmAttributeGaugeSet
- java.lang.Object
-
- com.codahale.metrics.jvm.JvmAttributeGaugeSet
-
- All Implemented Interfaces:
com.codahale.metrics.Metric
,com.codahale.metrics.MetricSet
public class JvmAttributeGaugeSet extends Object implements com.codahale.metrics.MetricSet
A set of gauges for the JVM name, vendor, and uptime.
-
-
Constructor Summary
Constructors Constructor Description JvmAttributeGaugeSet()
Creates a new set of gauges.JvmAttributeGaugeSet(RuntimeMXBean runtime)
Creates a new set of gauges with the givenRuntimeMXBean
.
-
-
-
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
-
-