Package wt.jmx.core.mbeans
Interface MonitorManagerMBean
- All Superinterfaces:
SelfEmailingMBean
Manages (and persists) a set of javax.management.monitor.Monitor MBeans.
These MBeans are a built-in part of Java; see
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/package-summary.html
for more information.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionaddCounterMonitor(String monitorName) Add a CounterMonitor MBean with the given name and returns its ObjectName.addGaugeMonitor(String monitorName) Add a GaugeMonitor MBean with the given name and returns its ObjectName.addStringMonitor(String monitorName) Add a StringMonitor MBean with the given name and returns its ObjectName.String[]Names of monitors registered with this manager
Supported API: truevoidremoveMonitor(String monitorName) Remove a monitor MBean given its name.Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getMonitorNames
String[] getMonitorNames()Names of monitors registered with this manager
Supported API: true -
addCounterMonitor
Add a CounterMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/CounterMonitor.html for more information.
Supported API: true- Parameters:
monitorName- Name to give new CounterMonitor- Throws:
Exception
-
addGaugeMonitor
Add a GaugeMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/GaugeMonitor.html for more information.
Supported API: true- Parameters:
monitorName- Name to give new GaugeMonitor- Throws:
Exception
-
addStringMonitor
Add a StringMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/StringMonitor.html for more information.
Supported API: true- Parameters:
monitorName- Name to give new StringMonitor- Throws:
Exception
-
removeMonitor
Remove a monitor MBean given its name.
Supported API: true- Parameters:
monitorName- Name of monitor to remove
-