com.atlassian.confluence.cache.tangosol
Class TangosolCacheConfigurationLoader
java.lang.Object
com.atlassian.confluence.cache.tangosol.TangosolCacheConfigurationLoader
- All Implemented Interfaces:
- CacheConfigurationLoader
- public class TangosolCacheConfigurationLoader
- extends Object
- implements CacheConfigurationLoader
Configures Coherence with the appropriate cache configuration file, depending on whether clustering is enabled or not
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_BASE
public static final String CONFIG_BASE
- See Also:
- Constant Field Values
CONFIG_CLUSTERED
public static final String CONFIG_CLUSTERED
- See Also:
- Constant Field Values
standardConfig
protected String standardConfig
clusteredConfig
protected String clusteredConfig
TangosolCacheConfigurationLoader
public TangosolCacheConfigurationLoader()
loadConfiguration
public void loadConfiguration(boolean clustered)
- Specified by:
loadConfiguration
in interface CacheConfigurationLoader
loadConfigurationFile
protected void loadConfigurationFile(String configFile,
com.tangosol.net.ConfigurableCacheFactory cacheFactory)
setStandardConfig
public void setStandardConfig(String standardConfig)
setClusteredConfig
public void setClusteredConfig(String clusteredConfig)