|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dbobj.CacheStatEntry
Cache Statistic Entry. Used by the DBObject system for tracking cache hit statistics
| Constructor Summary | |
CacheStatEntry(String newName,
String newDBName)
Creates new CacheStatEntry |
|
| Method Summary | |
int |
compareTo(Object o)
Compares this object with the specified object for order. |
int |
getCacheHits()
Retrieve the number of cache hits |
int |
getCacheMisses()
Retrieve the number of cache misses |
String |
getDataContext()
Retrieve the data context of the stat entry |
String |
getDBObjName()
Retrieve the classname of the DBObject for this cache stat |
int |
getReadCount()
Retrieve the overall read count for dbobjects |
void |
incCounts(boolean cached)
Increment the counts for the particular class name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheStatEntry(String newName,
String newDBName)
newName - the new dbobject namenewDBName - the data context for the name| Method Detail |
public int getReadCount()
public int getCacheHits()
public int getCacheMisses()
public String getDataContext()
public String getDBObjName()
public void incCounts(boolean cached)
cached - true if we got a cache hit, false if we got a cache
misspublic int compareTo(Object o)
compareTo in interface Comparableo - the Object to be compared.
ClassCastException - if the specified object's type prevents it
from being compared to this Object.
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||