1 package com.atlassian.cache; 2 3 import javax.annotation.Nonnull; 4 5 import com.atlassian.annotations.PublicSpi; 6 7 /** 8 * A manager for cache settings, providing operations for retrieving and storing settings to persistent storage. 9 * 10 * @since 2.4.0 11 */ 12 @PublicSpi 13 public interface CacheSettingsDefaultsProvider 14 { 15 /** 16 * Obtains the default cache settings. from persistent storage, for the specified cache. 17 * @param name the name of the cache to obtain default settings 18 * @return the default cache settings 19 */ 20 @Nonnull 21 CacheSettings getDefaults(@Nonnull String name); 22 }