Searched refs:loadCount (Results 1 – 5 of 5) sorted by relevance
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheLoaderTest.java | 53 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()
|
D | CacheStatsTest.java | 38 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()
|
D | LocalLoadingCacheTest.java | 92 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()
|
D | AbstractCacheTest.java | 110 assertEquals(0, stats.loadCount()); in testEmptySimpleStats() 143 assertEquals(13 + 17, stats.loadCount()); in testSingleSimpleStats()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 149 public long loadCount() { in loadCount() method in CacheStats
|