|
XMOJO 5 API Docs | ||||||||
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 | |
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()
This method gets the object name of the object being observed. |
boolean |
isActive()
This method tests whether the monitor MBean is active. |
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)
This method sets the object name of the object being observed. |
void |
start()
This method starts the monitor. |
void |
stop()
This method stops the monitor. |
Method Detail |
public long getGranularityPeriod()
public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException
period
- the granularity period value.java.lang.IllegalArgumentException
- - The granularity period
is less than or equal to zero.public java.lang.String getObservedAttribute()
public void setObservedAttribute(java.lang.String attribute)
attribute
- The attribute to be observed.public ObjectName getObservedObject()
public void setObservedObject(ObjectName object)
object
- The ObjectName of the object to be observed.public boolean isActive()
public void start()
public void stop()
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |