- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for loadExceptionRate (0.11 sec)
-
guava-tests/test/com/google/common/cache/CacheStatsTest.java
assertEquals(0, stats.missCount()); assertThat(stats.missRate()).isEqualTo(0.0); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertThat(stats.loadExceptionRate()).isEqualTo(0.0); assertEquals(0, stats.loadCount()); assertEquals(0, stats.totalLoadTime()); assertThat(stats.averageLoadPenalty()).isEqualTo(0.0); assertEquals(0, stats.evictionCount()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */ public double loadExceptionRate() { long totalLoadCount = saturatedAdd(loadSuccessCount, loadExceptionCount); return (totalLoadCount == 0) ? 0.0 : (double) loadExceptionCount / totalLoadCount; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */ public double loadExceptionRate() { long totalLoadCount = saturatedAdd(loadSuccessCount, loadExceptionCount); return (totalLoadCount == 0) ? 0.0 : (double) loadExceptionCount / totalLoadCount; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0)