Example usage for Java com.google.common.cache CacheStats fields, constructors, methods, implement or subclass
The text is from its open source code.
long | hitCount |
long | missCount |
long | loadSuccessCount |
long | loadExceptionCount |
long | totalLoadTime |
long | evictionCount |
CacheStats(long hitCount, long missCount, long loadSuccessCount, long loadExceptionCount, long totalLoadTime, long evictionCount) Constructs a new CacheStats instance. |
double | averageLoadPenalty() Returns the average time spent loading new values. |
double | hitRate() Returns the ratio of cache requests which were hits. |
long | loadCount() Returns the total number of times that Cache lookup methods attempted to load new values. |
double | loadExceptionRate() Returns the ratio of cache loading attempts which threw exceptions. |
CacheStats | minus(CacheStats other) Returns a new CacheStats representing the difference between this CacheStats and other . |
double | missRate() Returns the ratio of cache requests which were misses. |
long | requestCount() Returns the number of times Cache lookup methods have returned either a cached or uncached value. |
String | toString() |