| Constructor and Description |
|---|
JmxGauge(ObjectName objectName,
String attribute)
Creates a new
JmxGauge for the given attribute of the given MBean. |
JmxGauge(String objectName,
String attribute)
Creates a new
JmxGauge for the given attribute of the given MBean. |
| Modifier and Type | Method and Description |
|---|---|
Object |
value()
Returns the metric's current value.
|
processWithpublic JmxGauge(String objectName, String attribute) throws MalformedObjectNameException
JmxGauge for the given attribute of the given MBean.objectName - the string value of the MBean's ObjectNameattribute - the MBean attribute's nameMalformedObjectNameException - if objectName is malformedpublic JmxGauge(ObjectName objectName, String attribute)
JmxGauge for the given attribute of the given MBean.objectName - the MBean's ObjectNameattribute - the MBean attribute's nameCopyright © 2012. All Rights Reserved.