Package tigase.stats
Class ErrorsStatisticsProvider
java.lang.Object
tigase.stats.ErrorsStatisticsProvider
- All Implemented Interfaces:
DynamicMBean
- Author:
- andrzej
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attribute) getAttributes
(String[] attributeNames) void
setAttribute
(Attribute attribute) setAttributes
(AttributeList attributes) void
-
Constructor Details
-
ErrorsStatisticsProvider
public ErrorsStatisticsProvider()
-
-
Method Details
-
update
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
-
getAttributes
- Specified by:
getAttributes
in interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributes
in interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invoke
in interfaceDynamicMBean
- Throws:
MBeanException
ReflectionException
-
getAllStats
- Throws:
MBeanException
ReflectionException
-
getMBeanInfo
- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-