public class APIStatisticsOpenMBean
extends java.lang.Object
implements javax.management.DynamicMBean
Modifier and Type | Field and Description |
---|---|
private APIStatisticsMBean |
API_STATISTICS |
private javax.management.openmbean.TabularType |
API_STATISTICS_TYPE |
private static java.lang.String[] |
ITEM_DESCRIPTIONS |
private static java.lang.String[] |
ITEM_NAMES |
private static javax.management.openmbean.OpenType[] |
ITEM_TYPES |
private javax.management.openmbean.CompositeType |
METHOD_STATS_TYPE |
Constructor and Description |
---|
APIStatisticsOpenMBean(APIStatistics apiStatistics) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String attribute) |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributeNames) |
javax.management.MBeanInfo |
getMBeanInfo() |
javax.management.openmbean.TabularDataSupport |
getStatistics() |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature) |
void |
reset() |
void |
setAttribute(javax.management.Attribute attribute) |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes) |
private static final java.lang.String[] ITEM_NAMES
private static final javax.management.openmbean.OpenType[] ITEM_TYPES
private static final java.lang.String[] ITEM_DESCRIPTIONS
private final javax.management.openmbean.CompositeType METHOD_STATS_TYPE
private final APIStatisticsMBean API_STATISTICS
private final javax.management.openmbean.TabularType API_STATISTICS_TYPE
public APIStatisticsOpenMBean(APIStatistics apiStatistics)
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public javax.management.openmbean.TabularDataSupport getStatistics()
public void reset()
public java.lang.Object getAttribute(java.lang.String attribute) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
getAttributes
in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes
in interface javax.management.DynamicMBean