Searched refs:CacheBuilderFactory (Results 1 – 4 of 4) sorted by relevance
39 class CacheBuilderFactory { class51 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()
46 private CacheBuilderFactory factoryWithAllKeyStrengths() { in factoryWithAllKeyStrengths()47 return new CacheBuilderFactory() in factoryWithAllKeyStrengths()53 CacheBuilderFactory factory = factoryWithAllKeyStrengths(); in caches()
24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;352 CacheBuilderFactory factory = cacheFactory(); in caches()362 private CacheBuilderFactory cacheFactory() {363 return new CacheBuilderFactory()
25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;297 CacheBuilderFactory factory = cacheFactory(); in caches()307 private CacheBuilderFactory cacheFactory() {314 return new CacheBuilderFactory()