| com.sun.jbi.monitoring.StatisticsBase
All known Subclasses: com.sun.jbi.util.monitoring.StatisticsBaseImpl,
StatisticsBase | public interface StatisticsBase extends StatisticsMBean(Code) | | This interface provides the common base for all of the statistics
monitoring interfaces. The methods here provide the infrastucture for
creating an object tree that represents the statistics for the entire JBI
instance. Each instance of a statistics class has a parent and optionally
one or more children. Note that the top object in the tree has no parent.
author: Sun Microsystems, Inc. |
addChild | void addChild(StatisticsBase child)(Code) | | Add a child statistics object.
Parameters: child - the statistics object that is a child of this object. |
getChild | StatisticsBase getChild(String key)(Code) | | Get a particular child of this statistics object based on a key.
Parameters: key - the string containing the key for the child object. the statistics object with the specified key, or null if noneis found. |
getChildren | List getChildren()(Code) | | Get a list of all children of this statistics object.
a List containing all the children objects. Returns an emptylist if no children exist. |
getKey | String getKey()(Code) | | Get the key of this statistics object.
the key of this object. |
getParent | StatisticsBase getParent()(Code) | | Get the parent of this statistics object. The parent of the top object
in the tree is always null.
the parent object of this object. |
registerMBean | void registerMBean(Class interfaceClass, Object instance, javax.management.ObjectName mbeanName) throws javax.jbi.JBIException(Code) | | Register an MBean to represent this set of statistics.
Parameters: interfaceClass - the interface implemented by the MBean instance. Parameters: instance - the MBean instance to register. Parameters: mbeanName - the JMX ObjectName to use for this MBean. throws: javax.jbi.JBIException - If the MBean creation or registrationfails. |
setParent | void setParent(StatisticsBase parent)(Code) | | Set the parent of this statistics object.
Parameters: parent - the parent object of this object. |
|
|