javax.management.monitor.MonitorMBean |
![]() |
Exposes the remote management interface of monitor MBeans.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified object in the set of observed MBeans.
| |||||||||||
Tests whether the specified object is in the set of observed MBeans.
| |||||||||||
Gets the granularity period (in milliseconds).
| |||||||||||
Gets the attribute being observed.
| |||||||||||
This method is deprecated.
As of JMX 1.2, replaced by
getObservedObjects()
| |||||||||||
Returns an array containing the objects being observed.
| |||||||||||
Tests if the monitor MBean is active.
| |||||||||||
Removes the specified object from the set of observed MBeans.
| |||||||||||
Sets the granularity period (in milliseconds).
| |||||||||||
Sets the attribute to observe.
| |||||||||||
This method is deprecated.
As of JMX 1.2, replaced by
addObservedObject(ObjectName)
| |||||||||||
Starts the monitor.
| |||||||||||
Stops the monitor.
|
Adds the specified object in the set of observed MBeans.
object | The object to observe. |
---|
IllegalArgumentException | the specified object is null. |
---|
Tests whether the specified object is in the set of observed MBeans.
object | The object to check. |
---|
true
if the specified object is in the set, false
otherwise.
Gets the granularity period (in milliseconds).
Gets the attribute being observed.
This method is deprecated.
As of JMX 1.2, replaced by getObservedObjects()
Gets the object name of the object being observed.
Returns an array containing the objects being observed.
Removes the specified object from the set of observed MBeans.
object | The object to remove. |
---|
Sets the granularity period (in milliseconds).
period | The granularity period. |
---|
IllegalArgumentException | The granularity period is less than or equal to zero. |
---|
Sets the attribute to observe.
attribute | The attribute to observe. |
---|
This method is deprecated.
As of JMX 1.2, replaced by addObservedObject(ObjectName)
Sets the object to observe identified by its object name.
object | The object to observe. |
---|
Starts the monitor.
Stops the monitor.