public final class PropertiesFileCacheSettingsManager extends Object implements CacheSettingsManager
Constructor and Description |
---|
PropertiesFileCacheSettingsManager(Path configOverrideDir,
Path configFileName,
Lock writeLock) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.cache.CacheSettings |
getDefaults(String cacheName) |
boolean |
saveSettings()
Persists all changes made so far by update* methods.
|
com.atlassian.fugue.Option<Integer> |
updateMaxEntries(@NonNull String name,
int newValue)
Persists updates to the max entries settings for the specified cache.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeMaxEntries
public com.atlassian.fugue.Option<Integer> updateMaxEntries(@NonNull String name, int newValue)
CacheSettingsManager
updateMaxEntries
in interface CacheSettingsManager
name
- the name of the cache to updatepublic boolean saveSettings()
CacheSettingsManager
saveSettings
in interface CacheSettingsManager
Copyright © 2003–2021 Atlassian. All rights reserved.
View cookie preferences