public class EhCacheConfigManager extends Object implements CacheConfigManager, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_MAX_ENTRIES_LOCAL_HEAP_CONFIG_KEY_PREFIX |
Constructor and Description |
---|
EhCacheConfigManager(EhCacheConfigStore ehCacheConfigStore,
EhCacheManager ehCacheManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
changeMaxCacheSize(String cacheName,
int newMaxCacheSize)
Changes the maximum cache size of the specified cache (both in runtime and where its persisted).
|
public static final String CACHE_MAX_ENTRIES_LOCAL_HEAP_CONFIG_KEY_PREFIX
public EhCacheConfigManager(EhCacheConfigStore ehCacheConfigStore, EhCacheManager ehCacheManager)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void changeMaxCacheSize(String cacheName, int newMaxCacheSize)
changeMaxCacheSize
in interface CacheConfigManager
cacheName
- name of cachenewMaxCacheSize
- new max cache sizeCopyright © 2003–2021 Atlassian. All rights reserved.