public class JmxAttributeGauge extends Object implements com.codahale.metrics.Gauge<Object>
Gauge
implementation which queries an MBeanServerConnection
for an attribute of an object.Constructor and Description |
---|
JmxAttributeGauge(MBeanServerConnection mBeanServerConn,
ObjectName objectName,
String attributeName)
Creates a new JmxAttributeGauge.
|
JmxAttributeGauge(ObjectName objectName,
String attributeName)
Creates a new JmxAttributeGauge.
|
public JmxAttributeGauge(ObjectName objectName, String attributeName)
objectName
- the name of the objectattributeName
- the name of the object's attributepublic JmxAttributeGauge(MBeanServerConnection mBeanServerConn, ObjectName objectName, String attributeName)
mBeanServerConn
- the MBeanServerConnection
objectName
- the name of the objectattributeName
- the name of the object's attributeCopyright © 2020. All rights reserved.