Searched refs:createCacheBuilder (Results 1 – 3 of 3) sorted by relevance
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 93 LocalCache<String, String> map = makeLocalCache(createCacheBuilder()); in suite() 145 private static CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder() method in LocalCacheTest 152 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); in testDefaults() 197 makeLocalCache(createCacheBuilder().keyEquivalence(testEquivalence)); in testSetKeyEquivalence() 216 makeLocalCache(createCacheBuilder().valueEquivalence(testEquivalence)); in testSetValueEquivalence() 236 makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel)); in checkConcurrencyLevel() 277 createCacheBuilder().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); in checkInitialCapacity() 309 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder() in checkMaximumSize() 321 map = makeLocalCache(createCacheBuilder() in checkMaximumSize() 343 makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher)); in testSetWeigher() [all …]
|
D | LocalLoadingCacheTest.java | 50 private CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder() method in LocalLoadingCacheTest 63 LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); in testComputingFunction() 72 tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader)); in testNullParameters() 78 CacheBuilder<Object, Object> builder = createCacheBuilder() in testStats() 138 CacheBuilder<Object, Object> builder = createCacheBuilder() in testStatsNoops() 204 CacheBuilder<Object, Object> builder = createCacheBuilder() in testRecordStats() 235 CacheBuilder<Object, Object> builder = createCacheBuilder(); in testAsMap() 292 CacheBuilder<Object, Object> builder = createCacheBuilder() in testAsMapRecency()
|
D | CacheBuilderFactory.java | 100 return createCacheBuilder( in buildAllPermutations() 150 private CacheBuilder<Object, Object> createCacheBuilder(
|