public class JmxAttributeGauge extends Object implements io.dropwizard.metrics5.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 MBeanServerConnectionobjectName - the name of the objectattributeName - the name of the object's attributeCopyright © 2018. All Rights Reserved.