Home
last modified time | relevance | path

Searched refs:loadCount (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoaderTest.java53 final AtomicInteger loadCount = new AtomicInteger(); in testAsyncReload() local
60 loadCount.incrementAndGet(); in testAsyncReload()
77 assertEquals(0, loadCount.get()); in testAsyncReload()
84 assertEquals(1, loadCount.get()); in testAsyncReload()
95 assertEquals(2, loadCount.get()); in testAsyncReload()
100 assertEquals(2, loadCount.get()); in testAsyncReload()
DCacheStatsTest.java38 assertEquals(0, stats.loadCount()); in testEmpty()
54 assertEquals(17 + 19, stats.loadCount()); in testSingle()
73 assertEquals(26 + 22, diff.loadCount()); in testMinus()
94 assertEquals(56 + 52, sum.loadCount()); in testPlus()
DLocalLoadingCacheTest.java92 assertEquals(1, stats.loadCount()); in testStats()
105 assertEquals(1, stats.loadCount()); in testStats()
116 assertEquals(2, stats.loadCount()); in testStats()
130 assertEquals(3, stats.loadCount()); in testStats()
DAbstractCacheTest.java110 assertEquals(0, stats.loadCount()); in testEmptySimpleStats()
143 assertEquals(13 + 17, stats.loadCount()); in testSingleSimpleStats()
/external/guava/guava/src/com/google/common/cache/
DCacheStats.java149 public long loadCount() { in loadCount() method in CacheStats