@Internal public class CachingCacheSettingsManager extends Object implements CacheSettingsManager
Constructor and Description |
---|
CachingCacheSettingsManager(CacheSettingsManager delegate) |
Modifier and Type | Method and Description |
---|---|
@NonNull com.atlassian.cache.CacheSettings |
getDefaults(@NonNull String name) |
boolean |
saveSettings()
Persists all changes made so far by update* methods.
|
com.atlassian.fugue.Option<Integer> |
updateMaxEntries(@NonNull String name,
int newValue)
Deprecated.
since 7.0.1. Use
CacheSettingsManager.changeMaxEntries(String, int) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeMaxEntries
public CachingCacheSettingsManager(CacheSettingsManager delegate)
@Deprecated public com.atlassian.fugue.Option<Integer> updateMaxEntries(@NonNull String name, int newValue)
CacheSettingsManager.changeMaxEntries(String, int)
CacheSettingsManager
updateMaxEntries
in interface CacheSettingsManager
name
- the name of the cache to updatepublic boolean saveSettings()
CacheSettingsManager
saveSettings
in interface CacheSettingsManager
public @NonNull com.atlassian.cache.CacheSettings getDefaults(@NonNull String name)
getDefaults
in interface com.atlassian.cache.CacheSettingsDefaultsProvider
Copyright © 2003–2023 Atlassian. All rights reserved.