|
|||||||||||
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 org.objectweb.cjdbc.common.monitor.client.AbstractClientDataCollector org.objectweb.cjdbc.common.monitor.client.ClientActiveTimeCollector
Return active time for this client
Field Summary | |
private static long |
serialVersionUID
|
Fields inherited from class org.objectweb.cjdbc.common.monitor.client.AbstractClientDataCollector |
|
Fields inherited from class org.objectweb.cjdbc.common.monitor.AbstractDataCollector |
controller |
Constructor Summary | |
ClientActiveTimeCollector(java.lang.String clientId,
java.lang.String virtualDatabaseName)
create new collector |
Method Summary | |
java.lang.String |
getDescription()
Get a string description for this collector |
long |
getValue(java.lang.Object client)
We have the client object so let's get the value we want from ot |
Methods inherited from class org.objectweb.cjdbc.common.monitor.client.AbstractClientDataCollector |
collectValue, getTargetName |
Methods inherited from class org.objectweb.cjdbc.common.monitor.AbstractDataCollector |
setController |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
Constructor Detail |
public ClientActiveTimeCollector(java.lang.String clientId, java.lang.String virtualDatabaseName) throws DataCollectorException
clientId
- user name of the clientvirtualDatabaseName
- that contains this backend
DataCollectorException
- if cannot access clientMethod Detail |
public long getValue(java.lang.Object client)
AbstractClientDataCollector
getValue
in class AbstractClientDataCollector
client
- as an object to allow it through RMI, but IS a
VirtualDatabaseWorkerThread
AbstractDataCollector.collectValue()
public java.lang.String getDescription()
AbstractDataCollector
getDescription
in class AbstractDataCollector
AbstractDataCollector.getDescription()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |