Package com.codahale.metrics
Class JvmAttributeGaugeSet
java.lang.Object
com.codahale.metrics.JvmAttributeGaugeSet
A set of gauges for the JVM name, vendor, and uptime.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new set of gauges.JvmAttributeGaugeSet
(RuntimeMXBean runtime) Creates a new set of gauges with the givenRuntimeMXBean
. -
Method Summary
Modifier and TypeMethodDescriptionA map of metric names to metrics.
-
Field Details
-
runtime
-
-
Constructor Details
-
JvmAttributeGaugeSet
public JvmAttributeGaugeSet()Creates a new set of gauges. -
JvmAttributeGaugeSet
Creates a new set of gauges with the givenRuntimeMXBean
.
-
-
Method Details
-
getMetrics
Description copied from interface:MetricSet
A map of metric names to metrics.- Specified by:
getMetrics
in interfaceMetricSet
- Returns:
- the metrics
-