Package org.infinispan.configuration
Class ConfigurationManager
- java.lang.Object
-
- org.infinispan.configuration.ConfigurationManager
-
public class ConfigurationManager extends Object
It manages all the configuration for a specific container.It manages the
GlobalConfiguration
, the defaultConfiguration
and all the defined named cachesConfiguration
.- Since:
- 8.1
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description ConfigurationManager(GlobalConfiguration globalConfiguration)
ConfigurationManager(ConfigurationBuilderHolder holder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration(String cacheName, boolean includeWildcards)
Configuration
getConfiguration(String cacheName, String defaultCacheName)
Collection<String>
getDefinedCaches()
Collection<String>
getDefinedConfigurations()
GlobalConfiguration
getGlobalConfiguration()
Configuration
putConfiguration(String cacheName, Configuration configuration)
Configuration
putConfiguration(String cacheName, ConfigurationBuilder builder)
void
removeConfiguration(String cacheName)
-
-
-
Constructor Detail
-
ConfigurationManager
public ConfigurationManager(GlobalConfiguration globalConfiguration)
-
ConfigurationManager
public ConfigurationManager(ConfigurationBuilderHolder holder)
-
-
Method Detail
-
getGlobalConfiguration
public GlobalConfiguration getGlobalConfiguration()
-
getConfiguration
public Configuration getConfiguration(String cacheName, boolean includeWildcards)
-
getConfiguration
public Configuration getConfiguration(String cacheName, String defaultCacheName)
-
putConfiguration
public Configuration putConfiguration(String cacheName, Configuration configuration)
-
putConfiguration
public Configuration putConfiguration(String cacheName, ConfigurationBuilder builder)
-
removeConfiguration
public void removeConfiguration(String cacheName)
-
getDefinedCaches
public Collection<String> getDefinedCaches()
-
getDefinedConfigurations
public Collection<String> getDefinedConfigurations()
-
-