|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.common.monitor.AbstractDataCollector
This defines the abstract hierachy to collect monitoring information. All
monitored information from the controller should extends this class.
collectValue
can therefore NOT be called directly on the
client side. Instead, the client should be only given the returned result.
Field Summary | |
protected java.lang.Object |
controller
|
Constructor Summary | |
AbstractDataCollector()
|
Method Summary | |
abstract long |
collectValue()
This is used on the controller side to collect information |
abstract java.lang.String |
getDescription()
Get a string description for this collector |
abstract java.lang.String |
getTargetName()
Return the name of the target of this collector |
void |
setController(java.lang.Object controller)
associated a controller to this data collector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient java.lang.Object controller
Constructor Detail |
public AbstractDataCollector()
Method Detail |
public abstract long collectValue() throws DataCollectorException
DataCollectorException
- if fails to collect the informationpublic abstract java.lang.String getDescription()
public abstract java.lang.String getTargetName()
public void setController(java.lang.Object controller)
controller
- to associate
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |