Interface MonitorManagerMBean

All Superinterfaces:
SelfEmailingMBean

public interface MonitorManagerMBean extends 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
  • Method Details

    • getMonitorNames

      String[] getMonitorNames()
      Names of monitors registered with this manager

      Supported API: true
    • addCounterMonitor

      @MBeanOperationImpact(1) ObjectName addCounterMonitor(String monitorName) throws Exception
      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

      @MBeanOperationImpact(1) ObjectName addGaugeMonitor(String monitorName) throws Exception
      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

      @MBeanOperationImpact(1) ObjectName addStringMonitor(String monitorName) throws Exception
      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

      @MBeanOperationImpact(1) void removeMonitor(String monitorName)
      Remove a monitor MBean given its name.

      Supported API: true
      Parameters:
      monitorName - Name of monitor to remove