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(com.atlassian.dc.filestore.api.FileStore.Path sharedHome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
Properties
readStoredConfig()
void
updateStoredConfig(Properties properties)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
readStoredConfig
public Properties readStoredConfig() throws IOException
- Specified by:
readStoredConfig
in interfaceEhCacheConfigStore
- Throws:
IOException
-
updateStoredConfig
public void updateStoredConfig(Properties properties) throws IOException
- Specified by:
updateStoredConfig
in interfaceEhCacheConfigStore
- Throws:
IOException
-
-