- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for loadSuccessCount (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.loadSuccessCount()).isEqualTo(0); assertThat(stats.loadExceptionCount()).isEqualTo(0); assertThat(stats.hitCount()).isEqualTo(0); Object key = new Object(); assertThat(cache.get(key)).isSameInstanceAs(key); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1); assertThat(stats.loadSuccessCount()).isEqualTo(1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* on calls to {@code getIfPresent}. */ public long loadExceptionCount() { return loadExceptionCount; } /** * Returns the ratio of cache loading attempts which threw exceptions. This is defined as {@code * loadExceptionCount / (loadSuccessCount + loadExceptionCount)}, or {@code 0.0} when {@code * loadSuccessCount + loadExceptionCount == 0}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
* on calls to {@code getIfPresent}. */ public long loadExceptionCount() { return loadExceptionCount; } /** * Returns the ratio of cache loading attempts which threw exceptions. This is defined as {@code * loadExceptionCount / (loadSuccessCount + loadExceptionCount)}, or {@code 0.0} when {@code * loadSuccessCount + loadExceptionCount == 0}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount()); missCount.add(otherStats.missCount()); loadSuccessCount.add(otherStats.loadSuccessCount()); loadExceptionCount.add(otherStats.loadExceptionCount()); totalLoadTime.add(otherStats.totalLoadTime()); evictionCount.add(otherStats.evictionCount()); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
.isEqualTo(notification.getKey()); } CacheStats stats = cache.stats(); assertThat(stats.evictionCount()).isEqualTo(removalListener.size()); assertThat(stats.loadSuccessCount()).isEqualTo(computeCount.get()); assertThat(stats.loadExceptionCount()).isEqualTo(exceptionCount.get() + computeNullCount.get()); // each computed value is still in the cache, or was passed to the removal listener
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 25.4K bytes - Click Count (0)