|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface exposes the remote management interface of monitor MBeans.
| Method Summary | |
void |
addObservedObject(ObjectName object)
This method adds the specified object in the set of observed MBeans. |
boolean |
containsObservedObject(ObjectName object)
This method tests whether the specified object is in the set of observed MBeans. |
long |
getGranularityPeriod()
This method gets the granularity period (in milliseconds). |
java.lang.String |
getObservedAttribute()
This method gets the name of the attribute being observed. |
ObjectName |
getObservedObject()
Deprecated. Replaced by getObservedObjects() |
ObjectName[] |
getObservedObjects()
This method returns an array containing the objects being observed. |
boolean |
isActive()
This method tests whether the monitor MBean is active. |
void |
removeObservedObject(ObjectName object)
This method removes the specified object from the set of observed MBeans. |
void |
setGranularityPeriod(long period)
This method sets the granularity period (in milliseconds). |
void |
setObservedAttribute(java.lang.String attribute)
This method sets the attribute being observed. |
void |
setObservedObject(ObjectName object)
Deprecated. Replaced by addObservedObject(javax.management.ObjectName) |
void |
start()
This method starts the monitor. |
void |
stop()
This method stops the monitor. |
| Method Detail |
public void addObservedObject(ObjectName object)
throws java.lang.IllegalArgumentException
object - The object to observe.public void removeObservedObject(ObjectName object)
object - The object to remove.public boolean containsObservedObject(ObjectName object)
object - The object to check.true if the specified object is in the set,
false otherwise.public ObjectName[] getObservedObjects()
public long getGranularityPeriod()
setGranularityPeriod(long)
public void setGranularityPeriod(long period)
throws java.lang.IllegalArgumentException
period - the granularity period value.getGranularityPeriod()public java.lang.String getObservedAttribute()
setObservedAttribute(java.lang.String)public void setObservedAttribute(java.lang.String attribute)
attribute - The attribute to be observed.getObservedAttribute()public ObjectName getObservedObject()
getObservedObjects()
setObservedObject(javax.management.ObjectName)public void setObservedObject(ObjectName object)
addObservedObject(javax.management.ObjectName)
object - The ObjectName of the object to be observed.getObservedObject()public boolean isActive()
true if the monitor MBean is active,
false otherwise.public void start()
public void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||