public interface StatisticsBase extends StatisticsMBean
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(StatisticsBase child)
Add a child statistics object.
|
StatisticsBase |
getChild(String key)
Get a particular child of this statistics object based on a key.
|
List |
getChildren()
Get a list of all children of this statistics object.
|
String |
getKey()
Get the key of this statistics object.
|
StatisticsBase |
getParent()
Get the parent of this statistics object.
|
void |
registerMBean(Class interfaceClass,
Object instance,
ObjectName mbeanName)
Register an MBean to represent this set of statistics.
|
void |
setParent(StatisticsBase parent)
Set the parent of this statistics object.
|
void |
unregisterMBean()
Unregister the MBean for this set of statistics.
|
isEnabled, setDisabled, setEnabledString getKey()
StatisticsBase getParent()
void setParent(StatisticsBase parent)
parent - the parent object of this object.void addChild(StatisticsBase child)
child - the statistics object that is a child of this object.StatisticsBase getChild(String key)
key - the string containing the key for the child object.List getChildren()
void registerMBean(Class interfaceClass, Object instance, ObjectName mbeanName) throws JBIException
interfaceClass - the interface implemented by the MBean instance.instance - the MBean instance to register.mbeanName - the JMX ObjectName to use for this MBean.JBIException - If the MBean creation or registration
fails.void unregisterMBean()
throws JBIException
JBIException - If the MBean unregistration fails.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.