|
|||||||||||
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.cache.AbstractCacheStatsDataCollector org.objectweb.cjdbc.common.monitor.cache.CountHitsCollector
Count total of hits on this cache
Field Summary | |
private static long |
serialVersionUID
|
Fields inherited from class org.objectweb.cjdbc.common.monitor.cache.AbstractCacheStatsDataCollector |
|
Fields inherited from class org.objectweb.cjdbc.common.monitor.AbstractDataCollector |
controller |
Constructor Summary | |
CountHitsCollector(java.lang.String virtualDatabaseName)
create collector |
Method Summary | |
java.lang.String |
getDescription()
Get a string description for this collector |
long |
getValue(java.lang.Object cache)
We have the cache object so let's get the value we want from ot |
Methods inherited from class org.objectweb.cjdbc.common.monitor.cache.AbstractCacheStatsDataCollector |
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 CountHitsCollector(java.lang.String virtualDatabaseName)
virtualDatabaseName
- to get cache info fromMethod Detail |
public long getValue(java.lang.Object cache)
AbstractCacheStatsDataCollector
getValue
in class AbstractCacheStatsDataCollector
cache
- as an object to allow it through RMI, but IS a
AbstractResultCache
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 |