Methods Summary |
---|
public void | addObservedObject(javax.management.ObjectName object)Adds the specified object in the set of observed MBeans.
|
public boolean | containsObservedObject(javax.management.ObjectName object)Tests whether the specified object is in the set of observed MBeans.
|
public long | getGranularityPeriod()Gets the granularity period (in milliseconds).
|
public java.lang.String | getObservedAttribute()Gets the attribute being observed.
|
public javax.management.ObjectName | getObservedObject()Gets the object name of the object being observed.
|
public javax.management.ObjectName[] | getObservedObjects()Returns an array containing the objects being observed.
|
public boolean | isActive()Tests if the monitor MBean is active.
A monitor MBean is marked active when the {@link #start start} method is called.
It becomes inactive when the {@link #stop stop} method is called.
|
public void | removeObservedObject(javax.management.ObjectName object)Removes the specified object from the set of observed MBeans.
|
public void | setGranularityPeriod(long period)Sets the granularity period (in milliseconds).
|
public void | setObservedAttribute(java.lang.String attribute)Sets the attribute to observe.
|
public void | setObservedObject(javax.management.ObjectName object)Sets the object to observe identified by its object name.
|
public void | start()Starts the monitor.
|
public void | stop()Stops the monitor.
|