Interface BlockCache.Stats
-
- All Known Implementing Classes:
LruBlockCache.CacheStats
- Enclosing interface:
- BlockCache
public static interface BlockCache.Stats
Cache statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
hitCount()
Returns the number of lookups that have returned a cached value.long
requestCount()
Returns the number of times the lookup methods have returned either a cached or uncached value.
-
-
-
Method Detail
-
hitCount
long hitCount()
Returns the number of lookups that have returned a cached value.- Returns:
- the number of lookups that have returned a cached value
-
requestCount
long requestCount()
Returns the number of times the lookup methods have returned either a cached or uncached value.- Returns:
- the number of lookups
-
-