/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheStatsTest.java | 29 CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); in testEmpty() 45 CacheStats stats = new CacheStats(11, 13, 17, 19, 23, 27); in testSingle() 61 CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27); in testMinus() 62 CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31); in testMinus() 64 CacheStats diff = two.minus(one); in testMinus() 78 assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two)); in testMinus() 82 CacheStats one = new CacheStats(11, 13, 15, 13, 11, 9); in testPlus() 83 CacheStats two = new CacheStats(53, 47, 41, 39, 37, 35); in testPlus() 85 CacheStats sum = two.plus(one); in testPlus()
|
D | CacheLoadingTest.java | 106 CacheStats stats = cache.stats(); in testLoad() 179 CacheStats stats = cache.stats(); in testReload() 230 CacheStats stats = cache.stats(); in testRefresh() 290 CacheStats stats = cache.stats(); in testRefresh_getIfPresent() 332 CacheStats stats = cache.stats(); in testBulkLoad_default() 378 CacheStats stats = cache.stats(); in testBulkLoad_loadAll() 598 CacheStats stats = cache.stats(); in testLoadNull() 669 CacheStats stats = cache.stats(); in testReloadNull() 714 CacheStats stats = cache.stats(); in testReloadNullFuture() 764 CacheStats stats = cache.stats(); in testRefreshNull() [all …]
|
D | AbstractCacheTest.java | 102 CacheStats stats = counter.snapshot(); in testEmptySimpleStats() 133 CacheStats stats = counter.snapshot(); in testSingleSimpleStats() 191 assertEquals(new CacheStats(38, 60, 44, 54, totalLoadTime, 66), in testSimpleStatsIncrementBy()
|
D | CacheManualTest.java | 31 CacheStats stats = cache.stats(); in testGetIfPresent() 107 CacheStats stats = cache.stats(); in testGetAllPresent()
|
D | LocalLoadingCacheTest.java | 86 CacheStats stats = cache.stats(); in testStats()
|
D | CacheBuilderTest.java | 590 CacheStats stats = cache.stats(); in testRemovalNotification_get_basher()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheStats.java | 64 public final class CacheStats { class 78 public CacheStats(long hitCount, long missCount, long loadSuccessCount, in CacheStats() method in CacheStats 220 public CacheStats minus(CacheStats other) { in minus() 221 return new CacheStats( in minus() 236 public CacheStats plus(CacheStats other) { in plus() 237 return new CacheStats( in plus() 254 if (object instanceof CacheStats) { in equals() 255 CacheStats other = (CacheStats) object; in equals()
|
D | AbstractCache.java | 130 public CacheStats stats() { in stats() 199 CacheStats snapshot(); in snapshot() 255 public CacheStats snapshot() { in snapshot() 256 return new CacheStats( in snapshot() 269 CacheStats otherStats = other.snapshot(); in incrementBy()
|
D | CacheBuilder.java | 176 public CacheStats snapshot() { 180 static final CacheStats EMPTY_STATS = new CacheStats(0, 0, 0, 0, 0, 0);
|
D | Cache.java | 135 CacheStats stats(); in stats()
|
D | ForwardingCache.java | 113 public CacheStats stats() { in stats()
|
D | LocalCache.java | 4789 public CacheStats stats() {
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | PatternCache.java | 9 import com.google.common.cache.CacheStats; 113 public static CacheStats getStatistics() { in getStatistics()
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 170 public CacheStats snapshot() { 174 static final CacheStats EMPTY_STATS = new CacheStats(0, 0, 0, 0, 0, 0);
|