|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Cache.Statistic
Offers information about data counting and cache performance.
Method Summary | |
---|---|
double |
hitRatio()
Returns the ratio between found CacheObject s to total
requests through Cache.get(Object) . |
long |
hits()
Returns the total number of successful requests with Cache.get(Object) for a CacheObject . |
long |
misses()
Returns the total number of CacheObject not found with
Cache.get(Object) . |
Method Detail |
---|
double hitRatio()
CacheObject
s to total
requests through Cache.get(Object)
.
This value is obtained through
ratio = (hits / (hits + misses))
.
long hits()
Cache.get(Object)
for a CacheObject
.
long misses()
CacheObject
not found with
Cache.get(Object)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |