Home | History | Annotate | Download | only in cache

Lines Matching defs:hitCount

36  * <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
65 private final long hitCount;
78 public CacheStats(long hitCount, long missCount, long loadSuccessCount,
80 checkArgument(hitCount >= 0);
87 this.hitCount = hitCount;
97 * uncached value. This is defined as {@code hitCount + missCount}.
100 return hitCount + missCount;
106 public long hitCount() {
107 return hitCount;
112 * {@code hitCount / requestCount}, or {@code 1.0} when {@code requestCount == 0}.
117 return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
222 Math.max(0, hitCount - other.hitCount),
238 hitCount + other.hitCount,
248 return Objects.hashCode(hitCount, missCount, loadSuccessCount, loadExceptionCount,
256 return hitCount == other.hitCount
269 .add("hitCount", hitCount)