|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheStatistics
| Method Summary | |
|---|---|
long |
getCacheHits()
Get the total number of cache hits. |
long |
getCacheMisses()
Get the total number of cache misses. |
long |
getCacheMissesExpired()
Get the number of cache misses where the entry was expired. |
long |
getCacheMissesNotFound()
Get the number of cache misses where the entry was not found. |
int |
getCurrentSize()
Get the current size (the number of entries) in the cache. |
long |
getGetCount()
Get the total get count. |
float |
getHitRate()
Get the current hit rate, this is a value [0,1] which is the percentage of hits on all get requests. |
long |
getPutCount()
Get the total put count. |
void |
reset()
Reset the statistics. |
| Method Detail |
|---|
long getCacheHits()
long getCacheMissesNotFound()
long getPutCount()
long getGetCount()
void reset()
float getHitRate()
long getCacheMisses()
int getCurrentSize()
long getCacheMissesExpired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||