|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.cache.ehcache.EhCacheConfigManager
public class EhCacheConfigManager
Class that allows Confluence's ehcache configuration to be modified programmatically. Changes will be made to both the runtime configuration as well as the persisted configuration (allowing changes to persist across restarts).
Constructor Summary | |
---|---|
EhCacheConfigManager(EhCacheConfig ehCacheConfig,
net.sf.ehcache.CacheManager cacheManager)
|
Method Summary | |
---|---|
void |
changeMaxCacheSize(java.lang.String cacheName,
int newMaxCacheSize)
Changes the maximum cache size of the specified cache (both in runtime and where its persisted). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EhCacheConfigManager(EhCacheConfig ehCacheConfig, net.sf.ehcache.CacheManager cacheManager)
Method Detail |
---|
public void changeMaxCacheSize(java.lang.String cacheName, int newMaxCacheSize)
changeMaxCacheSize
in interface CacheConfigManager
cacheName
- name of cachenewMaxCacheSize
- new max cache size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |