class JmxAttributeGauge implements Gauge<Object> {

    @Override
    public Object getValue() {
        try {
            return mBeanServerConn.getAttribute(getObjectName(), attributeName);
        } catch (IOException | JMException e) {
            return null;
        }
    }

    public  JmxAttributeGauge(ObjectName objectName, String attributeName);
    public  JmxAttributeGauge(MBeanServerConnection mBeanServerConn, ObjectName objectName, String attributeName);

}