Class CachingCacheSettingsManager

  • All Implemented Interfaces:
    com.atlassian.cache.CacheSettingsDefaultsProvider, CacheSettingsManager

    public class CachingCacheSettingsManager
    extends Object
    implements CacheSettingsManager
    Caches calculation of caches settings in order to avoid traversing long list of expensive regexps
    • Constructor Detail

      • CachingCacheSettingsManager

        public CachingCacheSettingsManager​(CacheSettingsManager delegate)
    • Method Detail

      • saveSettings

        public boolean saveSettings()
        Description copied from interface: CacheSettingsManager
        Persists all changes made so far by update* methods.

        Specified by:
        saveSettings in interface CacheSettingsManager
        true if changes were persisted successfully
      • getDefaults

        public @NonNull com.atlassian.cache.CacheSettings getDefaults​(@NonNull String name)
        Specified by:
        getDefaults in interface com.atlassian.cache.CacheSettingsDefaultsProvider