Package tigase.stats
Class ErrorsStatisticsProvider
- java.lang.Object
-
- tigase.stats.ErrorsStatisticsProvider
-
- All Implemented Interfaces:
DynamicMBean
public class ErrorsStatisticsProvider extends Object implements DynamicMBean
- Author:
- andrzej
-
-
Constructor Summary
Constructors Constructor Description ErrorsStatisticsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAllStats()ObjectgetAttribute(String attribute)AttributeListgetAttributes(String[] attributeNames)MBeanInfogetMBeanInfo()Objectinvoke(String actionName, Object[] params, String[] signature)voidsetAttribute(Attribute attribute)AttributeListsetAttributes(AttributeList attributes)voidupdate(StatisticsProvider sp)
-
-
-
Method Detail
-
update
public void update(StatisticsProvider sp)
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
- Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
- Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
getAttributes
public AttributeList getAttributes(String[] attributeNames)
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
- Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getAllStats
public Map<String,String> getAllStats() throws MBeanException, ReflectionException
- Throws:
MBeanExceptionReflectionException
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
-