@Deprecated public class DefaultCacheConfigManager extends Object implements CacheConfigManager, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
DefaultCacheConfigManager(CacheSettingsManager cacheSettingsManager,
com.atlassian.cache.CacheManager cacheManager,
com.atlassian.event.api.EventPublisher eventPublisher)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
void |
changeMaxCacheSize(String name,
int newValue)
Deprecated.
Changes the max cache size.
|
void |
destroy()
Deprecated.
|
void |
onMaxEntriesSettingChanged(ClusterEventWrapper clusterEventWrapper)
Deprecated.
Listen to cluster wide event about changing of max entries setting only.
|
public DefaultCacheConfigManager(CacheSettingsManager cacheSettingsManager, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher)
public void changeMaxCacheSize(String name, int newValue)
CacheConfigManager
changeMaxCacheSize
in interface CacheConfigManager
name
- cache namenewValue
- new max cache size@EventListener public void onMaxEntriesSettingChanged(ClusterEventWrapper clusterEventWrapper)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
Copyright © 2003–2016 Atlassian. All rights reserved.