FileDocCategorySizeDatePackage
JMXMonitorMgr.javaAPI DocGlassfish v2 API4130Fri May 04 22:30:54 BST 2007com.sun.appserv.management.monitor

JMXMonitorMgr

public interface JMXMonitorMgr implements com.sun.appserv.management.base.Utility, com.sun.appserv.management.base.Singleton, com.sun.appserv.management.base.AMX
Supports the standard monitoring facilities of javax.management.monitor by making available routines to create the Monitors available in javax.management.monitor, and to determine query which such Monitors are currently loaded.

Note that the naming is somewhat confusing; the use of the term "Monitor" here derives from javax.management.monitor; com.sun.appserv.monitor refers to MBeans that provide statistics on appserver runtime entities.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public com.sun.appserv.management.monitor.AMXCounterMonitorcreateCounterMonitor(java.lang.String name)
Create a new Monitor.

param
name

public com.sun.appserv.management.monitor.AMXGaugeMonitorcreateGaugeMonitor(java.lang.String name)
Create a new Monitor.

param
name

public com.sun.appserv.management.monitor.AMXStringMonitorcreateStringMonitor(java.lang.String name)
Create a new Monitor.

param
name

public java.util.MapgetCounterMonitorMap()
Return a Map of all AMXCounterMonitor. The Map is keyed by name.

public java.util.MapgetGaugeMonitorMap()
Return a Map of all AMXGaugeMonitor. The Map is keyed by name.

public java.util.MapgetStringMonitorMap()
Return a Map of all AMXStringMonitor MBean. The Map is keyed by name.

public voidremove(java.lang.String name)
Remove a Monitor by name.

param
name