Home
last modified time | relevance | path

Searched refs:CacheBuilderFactory (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java39 class CacheBuilderFactory { class
51 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) { in withConcurrencyLevels()
56 CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) { in withInitialCapacities()
61 CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) { in withMaximumSizes()
66 CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) { in withExpireAfterWrites()
71 CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) { in withExpireAfterAccesses()
76 CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) { in withRefreshes()
81 CacheBuilderFactory withKeyStrengths(Set<Strength> keyStrengths) { in withKeyStrengths()
87 CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) { in withValueStrengths()
DCacheReferencesTest.java46 private CacheBuilderFactory factoryWithAllKeyStrengths() { in factoryWithAllKeyStrengths()
47 return new CacheBuilderFactory() in factoryWithAllKeyStrengths()
53 CacheBuilderFactory factory = factoryWithAllKeyStrengths(); in caches()
DEmptyCachesTest.java24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
352 CacheBuilderFactory factory = cacheFactory(); in caches()
362 private CacheBuilderFactory cacheFactory() {
363 return new CacheBuilderFactory()
DPopulatedCachesTest.java25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
297 CacheBuilderFactory factory = cacheFactory(); in caches()
307 private CacheBuilderFactory cacheFactory() {
314 return new CacheBuilderFactory()