|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LiveCacheStatistics
Interface for usage statistics of a Cache.
Implementations of this interface is different fromStatistics
in the way that values returned from this
interface implementations will reflect the current state of the cache and not
a snapshot of the cache when the api's were called (which is the behavior of
Statistics
)
Method Summary | |
---|---|
float |
getAverageGetTimeMillis()
Average time in milli seconds taken to get an element from the cache. |
long |
getCacheHitCount()
The number of times a requested item was found in the cache. |
long |
getCacheMissCount()
|
long |
getCacheMissCountExpired()
|
java.lang.String |
getCacheName()
|
long |
getEvictedCount()
Number of elements evicted from the cache |
long |
getExpiredCount()
Number of elements expired since creation or last clear |
long |
getInMemoryHitCount()
Number of times a requested item was found in the Memory Store. |
long |
getInMemorySize()
Number of elements in the MemoryStore |
long |
getOnDiskHitCount()
Number of times a requested item was found in the Disk Store. |
long |
getOnDiskSize()
Number of elements in the DiskStore |
long |
getPutCount()
Number of puts that has happened in the cache |
long |
getRemovedCount()
Number of elements removed since creation or last clear |
long |
getSize()
Size of the cache based on current accuracy settings. |
int |
getStatisticsAccuracy()
Accurately measuring statistics can be expensive. |
java.lang.String |
getStatisticsAccuracyDescription()
Accurately measuring statistics can be expensive. |
long |
getUpdateCount()
Number of updates that as happened in the cache |
boolean |
isStatisticsEnabled()
Returns true if statistics is enabled |
Method Detail |
---|
boolean isStatisticsEnabled()
long getCacheHitCount()
long getInMemoryHitCount()
long getOnDiskHitCount()
long getCacheMissCount()
long getCacheMissCountExpired()
long getSize()
long getInMemorySize()
long getOnDiskSize()
float getAverageGetTimeMillis()
long getEvictedCount()
long getPutCount()
long getUpdateCount()
long getExpiredCount()
long getRemovedCount()
int getStatisticsAccuracy()
java.lang.String getStatisticsAccuracyDescription()
java.lang.String getCacheName()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |