Package org.smallmind.claxon.emitter.jmx
Class MeterDynamicMbean
- java.lang.Object
-
- org.smallmind.claxon.emitter.jmx.MeterDynamicMbean
-
- All Implemented Interfaces:
DynamicMBean
public class MeterDynamicMbean extends Object implements DynamicMBean
-
-
Constructor Summary
Constructors Constructor Description MeterDynamicMbean(String name, Tag[] tags, Quantity[] quantities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String attribute)AttributeListgetAttributes(String[] attributes)MBeanInfogetMBeanInfo()Objectinvoke(String actionName, Object[] params, String[] signature)voidsetAttribute(Attribute attribute)AttributeListsetAttributes(AttributeList attributes)
-
-
-
Method Detail
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException
- Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException
- Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueException
-
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature)
- Specified by:
invokein interfaceDynamicMBean
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
-