|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exposes the remote management interface of monitor MBeans.
Method Summary | |
long |
getGranularityPeriod()
Gets the granularity period (in milliseconds). |
java.lang.String |
getObservedAttribute()
Gets the attribute being observed. |
ObjectName |
getObservedObject()
Gets the object name of the object being observed. |
boolean |
isActive()
Tests if the monitor MBean is active. |
void |
setGranularityPeriod(long period)
Sets the granularity period (in milliseconds). |
void |
setObservedAttribute(java.lang.String attribute)
Sets the attribute to observe. |
void |
setObservedObject(ObjectName object)
Sets the object to observe identified by its object name. |
void |
start()
Starts the monitor. |
void |
stop()
Stops the monitor. |
Method Detail |
public long getGranularityPeriod()
public java.lang.String getObservedAttribute()
public ObjectName getObservedObject()
public boolean isActive()
public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException
period
- The granularity period.public void setObservedAttribute(java.lang.String attribute)
attribute
- The attribute to observe.public void setObservedObject(ObjectName object)
object
- The object to observe.public void start()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |