|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.metrics.codahale_metrics.metrics.core.Gauge<java.lang.Object>
com.espertech.esper.metrics.codahale_metrics.metrics.util.JmxGauge
public class JmxGauge
A gauge which exposes an attribute of a JMX MBean.
Constructor Summary | |
---|---|
JmxGauge(javax.management.ObjectName objectName,
java.lang.String attribute)
Creates a new JmxGauge for the given attribute of the given MBean. |
|
JmxGauge(java.lang.String objectName,
java.lang.String attribute)
Creates a new JmxGauge for the given attribute of the given MBean. |
Method Summary | |
---|---|
java.lang.Object |
value()
Returns the metric's current value. |
Methods inherited from class com.espertech.esper.metrics.codahale_metrics.metrics.core.Gauge |
---|
processWith |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxGauge(java.lang.String objectName, java.lang.String attribute) throws javax.management.MalformedObjectNameException
JmxGauge
for the given attribute of the given MBean.
objectName
- the string value of the MBean's ObjectName
attribute
- the MBean attribute's name
javax.management.MalformedObjectNameException
- if objectName
is malformedpublic JmxGauge(javax.management.ObjectName objectName, java.lang.String attribute)
JmxGauge
for the given attribute of the given MBean.
objectName
- the MBean's ObjectName
attribute
- the MBean attribute's nameMethod Detail |
---|
public java.lang.Object value()
Gauge
value
in class Gauge<java.lang.Object>
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |