@Internal public class CachingCacheSettingsManager extends Object implements CacheSettingsManager
Constructor and Description |
---|
CachingCacheSettingsManager(CacheSettingsManager delegate) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.cache.CacheSettings |
getDefaults(String name) |
com.atlassian.cache.CacheSettings |
obtainDefaults(String name)
Deprecated.
|
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.
|
public CachingCacheSettingsManager(CacheSettingsManager delegate)
public com.atlassian.fugue.Option<Integer> updateMaxEntries(String name, int newValue)
CacheSettingsManager
updateMaxEntries
in interface CacheSettingsManager
name
- the name of the cache to updatepublic boolean saveSettings()
CacheSettingsManager
saveSettings
in interface CacheSettingsManager
@Deprecated public com.atlassian.cache.CacheSettings obtainDefaults(String name)
CacheSettingsManager
obtainDefaults
in interface CacheSettingsManager
Copyright © 2003–2015 Atlassian. All rights reserved.