Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java37 class CacheBuilderFactory { class
49 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) { in withConcurrencyLevels()
54 CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) { in withInitialCapacities()
59 CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) { in withMaximumSizes()
64 CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) { in withExpireAfterWrites()
69 CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) { in withExpireAfterAccesses()
74 CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) { in withRefreshes()
79 CacheBuilderFactory withKeyStrengths(Set<Strength> keyStrengths) { in withKeyStrengths()
85 CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) { in withValueStrengths()
DCacheReferencesTest.java45 private CacheBuilderFactory factoryWithAllKeyStrengths() { in factoryWithAllKeyStrengths()
46 return new CacheBuilderFactory() in factoryWithAllKeyStrengths()
52 CacheBuilderFactory factory = factoryWithAllKeyStrengths(); in caches()
DEmptyCachesTest.java24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
337 CacheBuilderFactory factory = cacheFactory(); in caches()
348 private CacheBuilderFactory cacheFactory() {
349 return new CacheBuilderFactory()
DPopulatedCachesTest.java25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
294 CacheBuilderFactory factory = cacheFactory(); in caches()
305 private CacheBuilderFactory cacheFactory() {
312 return new CacheBuilderFactory()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java37 class CacheBuilderFactory { class
49 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) { in withConcurrencyLevels()
54 CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) { in withInitialCapacities()
59 CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) { in withMaximumSizes()
64 CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) { in withExpireAfterWrites()
69 CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) { in withExpireAfterAccesses()
74 CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) { in withRefreshes()
79 CacheBuilderFactory withKeyStrengths(Set<Strength> keyStrengths) { in withKeyStrengths()
85 CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) { in withValueStrengths()
DCacheReferencesTest.java45 private CacheBuilderFactory factoryWithAllKeyStrengths() { in factoryWithAllKeyStrengths()
46 return new CacheBuilderFactory() in factoryWithAllKeyStrengths()
52 CacheBuilderFactory factory = factoryWithAllKeyStrengths(); in caches()
DEmptyCachesTest.java24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
337 CacheBuilderFactory factory = cacheFactory(); in caches()
348 private CacheBuilderFactory cacheFactory() {
349 return new CacheBuilderFactory()
DPopulatedCachesTest.java25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
294 CacheBuilderFactory factory = cacheFactory(); in caches()
305 private CacheBuilderFactory cacheFactory() {
312 return new CacheBuilderFactory()