Searched refs:CacheBuilderFactory (Results 1 – 8 of 8) sorted by relevance
37 class CacheBuilderFactory { class49 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()
45 private CacheBuilderFactory factoryWithAllKeyStrengths() { in factoryWithAllKeyStrengths()46 return new CacheBuilderFactory() in factoryWithAllKeyStrengths()52 CacheBuilderFactory factory = factoryWithAllKeyStrengths(); in caches()
24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;337 CacheBuilderFactory factory = cacheFactory(); in caches()348 private CacheBuilderFactory cacheFactory() {349 return new CacheBuilderFactory()
25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;294 CacheBuilderFactory factory = cacheFactory(); in caches()305 private CacheBuilderFactory cacheFactory() {312 return new CacheBuilderFactory()