public interface CacheSettingsManager
extends com.atlassian.cache.CacheSettingsDefaultsProvider
Modifier and Type | Method and Description |
---|---|
com.atlassian.cache.CacheSettings |
obtainDefaults(String name)
Deprecated.
since 5.7 use
CacheSettingsDefaultsProvider.getDefaults(String) |
boolean |
saveSettings()
Persists all changes made so far by update* methods.
|
com.atlassian.fugue.Option<Integer> |
updateMaxEntries(String name,
int newValue)
Persists updates to the max entries settings for the specified cache.
|
@Deprecated com.atlassian.cache.CacheSettings obtainDefaults(@Nonnull String name)
CacheSettingsDefaultsProvider.getDefaults(String)
com.atlassian.fugue.Option<Integer> updateMaxEntries(@Nonnull String name, int newValue)
name
- the name of the cache to updateboolean saveSettings()
Copyright © 2003–2015 Atlassian. All rights reserved.