Class EhCacheConfigFileStore
- java.lang.Object
-
- com.atlassian.confluence.cache.ehcache.EhCacheConfigFileStore
-
- All Implemented Interfaces:
EhCacheConfigStore,org.springframework.beans.factory.InitializingBean
public class EhCacheConfigFileStore extends Object implements org.springframework.beans.factory.InitializingBean, EhCacheConfigStore
A file-based store of EhCache config information. Stores the config as a properties file.
-
-
Constructor Summary
Constructors Constructor Description EhCacheConfigFileStore(BootstrapManager bootstrapManager)Deprecated.since 7.12EhCacheConfigFileStore(com.atlassian.dc.filestore.api.FileStore.Path sharedHome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()PropertiesreadStoredConfig()voidupdateStoredConfig(Properties properties)
-
-
-
Constructor Detail
-
EhCacheConfigFileStore
public EhCacheConfigFileStore(com.atlassian.dc.filestore.api.FileStore.Path sharedHome)
- Since:
- 7.12
-
EhCacheConfigFileStore
@Deprecated public EhCacheConfigFileStore(BootstrapManager bootstrapManager)
Deprecated.since 7.12
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
readStoredConfig
public Properties readStoredConfig() throws IOException
- Specified by:
readStoredConfigin interfaceEhCacheConfigStore- Throws:
IOException
-
updateStoredConfig
public void updateStoredConfig(Properties properties) throws IOException
- Specified by:
updateStoredConfigin interfaceEhCacheConfigStore- Throws:
IOException
-
-