API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.monitor. MonitorMBean View Source
Author(s)
Sun Microsystems, Inc
Since
1.5
Version
4.24 11/17/05
Serial
Hierarchy
 MonitorMBean
Subinterfaces
Description
public interface MonitorMBean
  Exposes the remote management interface of monitor MBeans.
See also:   
Methods
Hide/Show inherited methods
public void addObservedObject (ObjectName object) throws IllegalArgumentException
  Adds the specified object in the set of observed MBeans.
public boolean containsObservedObject (ObjectName object)
  Tests whether the specified object is in the set of observed MBeans.
public long getGranularityPeriod ()
  Gets the granularity period (in milliseconds).
public String getObservedAttribute ()
  Gets the attribute being observed.
@Deprecated
public ObjectName getObservedObject ()
  Gets the object name of the object being observed.
public ObjectName getObservedObjects ()
  Returns an array containing the objects being observed.
public boolean isActive ()
  Tests if the monitor MBean is active.
public void removeObservedObject (ObjectName object)
  Removes the specified object from the set of observed MBeans.
public void setGranularityPeriod (long period) throws IllegalArgumentException
  Sets the granularity period (in milliseconds).
public void setObservedAttribute (String attribute)
  Sets the attribute to observe.
@Deprecated
public void setObservedObject (ObjectName object)
  Sets the object to observe identified by its object name.
public void start ()
Starts the monitor.
public void stop ()
Stops the monitor.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar