Package com.codahale.metrics
Class JmxReporter.JmxGauge
- java.lang.Object
-
- com.codahale.metrics.JmxReporter.AbstractBean
-
- com.codahale.metrics.JmxReporter.JmxGauge
-
- All Implemented Interfaces:
JmxReporter.JmxGaugeMBean
,JmxReporter.MetricMBean
- Enclosing class:
- JmxReporter
private static class JmxReporter.JmxGauge extends JmxReporter.AbstractBean implements JmxReporter.JmxGaugeMBean
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
-
Methods inherited from class com.codahale.metrics.JmxReporter.AbstractBean
objectName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.codahale.metrics.JmxReporter.MetricMBean
objectName
-
-
-
-
Field Detail
-
metric
private final Gauge<?> metric
-
-
Constructor Detail
-
JmxGauge
private JmxGauge(Gauge<?> metric, javax.management.ObjectName objectName)
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfaceJmxReporter.JmxGaugeMBean
-
-