- hitCount
Returns the number of times Cache lookup methods have returned a cached value.
- evictionCount
Returns the number of times an entry has been evicted. This count does not
include manual Cache#inva
- missCount
Returns the number of times Cache lookup methods have returned an uncached
(newly loaded) value, or
- loadExceptionCount
Returns the number of times Cache lookup methods threw an exception while
loading a new value. This
- totalLoadTime
Returns the total number of nanoseconds the cache has spent loading new values.
This can be used to
- loadSuccessCount
Returns the number of times Cache lookup methods have successfully loaded a new
value. This is alway
- requestCount
Returns the number of times Cache lookup methods have returned either a cached
or uncached value. Th
- hitRate
Returns the ratio of cache requests which were hits. This is defined as hitCount
/ requestCount, or
- loadCount
Returns the total number of times that Cache lookup methods attempted to load
new values. This inclu
- <init>
Constructs a new CacheStats instance.Five parameters of the same type in a row
is a bad thing, but t
- missRate
Returns the ratio of cache requests which were misses. This is defined as
missCount / requestCount,
- averageLoadPenalty
Returns the average time spent loading new values. This is defined as
totalLoadTime / (loadSuccessCo