Interface CacheStats
- 
public interface CacheStatsStatistics about a Cache.The data returned by this interface may not be 100% accurate, due to concurrency optimizations in implementations.
- Author:
 - Michael Vorburger.ch
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longestimatedCurrentEntries()Number of key/value pair entries currently in the cache.com.google.common.collect.ImmutableMap<String,Number>extensions()Extensions provide implementation specific cache stats.longhitCount()Number of "hits" in the cache.longmissCount()Number of "misses" in the cache. 
 - 
 
- 
- 
Method Detail
- 
estimatedCurrentEntries
long estimatedCurrentEntries()
Number of key/value pair entries currently in the cache. 
- 
missCount
long missCount()
Number of "misses" in the cache. A "miss" causes theCacheFunctionto have to be invoked on aCache.get(Object). 
- 
hitCount
long hitCount()
Number of "hits" in the cache. A "hit" is when a Cache can return from aCache.get(Object)without having to use itsCacheFunction. 
 - 
 
 -