Home
last modified time | relevance | path

Searched refs:evictionCount (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheStats.java69 private final long evictionCount; field in CacheStats
78 long loadExceptionCount, long totalLoadTime, long evictionCount) { in CacheStats() argument
84 checkArgument(evictionCount >= 0); in CacheStats()
91 this.evictionCount = evictionCount; in CacheStats()
210 public long evictionCount() { in evictionCount() method in CacheStats
211 return evictionCount; in evictionCount()
226 Math.max(0, evictionCount - other.evictionCount)); in minus()
242 evictionCount + other.evictionCount); in plus()
248 totalLoadTime, evictionCount); in hashCode()
260 && evictionCount == other.evictionCount; in equals()
[all …]
DAbstractCache.java211 private final LongAddable evictionCount = LongAddables.create(); field in AbstractCache.SimpleStatsCounter
248 evictionCount.increment(); in recordEviction()
259 evictionCount.sum()); in snapshot()
272 evictionCount.add(otherStats.evictionCount()); in incrementBy()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheStatsTest.java41 assertEquals(0, stats.evictionCount()); in testEmpty()
57 assertEquals(27, stats.evictionCount()); in testSingle()
76 assertEquals(4, diff.evictionCount()); in testMinus()
97 assertEquals(44, sum.evictionCount()); in testPlus()
DAbstractCacheTest.java84 assertEquals(0, stats.evictionCount()); in testEmptySimpleStats()
117 assertEquals(27, stats.evictionCount()); in testSingleSimpleStats()
DLocalLoadingCacheTest.java96 assertEquals(0, stats.evictionCount()); in testStats()
106 assertEquals(0, stats.evictionCount()); in testStats()
120 assertEquals(0, stats.evictionCount()); in testStats()
134 assertEquals(1, stats.evictionCount()); in testStats()
DCacheExpirationTest.java173 final AtomicInteger evictionCount = new AtomicInteger(); in testRemovalListener_expireAfterWrite() local
182 evictionCount.incrementAndGet(); in testRemovalListener_expireAfterWrite()
207 assertEquals(evictionCount.get() + 1, applyCount.get()); in testRemovalListener_expireAfterWrite()
DCacheBuilderTest.java591 assertEquals(removalListener.size(), stats.evictionCount()); in testRemovalNotification_get_basher()
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...