public interface GlobalConfigurationManager
GlobalConfigurationManager is the main interface for sharing runtime configuration state across a cluster.
It uses an internal cache 'org.infinispan.CONFIG'. The cache is keyed with ScopedState. Each scope owner is responsible
for its own keys.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_STATE_CACHE_NAME |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
createCache(java.lang.String cacheName,
Configuration configuration,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
Defines a cluster-wide cache configuration
|
Configuration |
createCache(java.lang.String cacheName,
java.lang.String template,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
Defines a cluster-wide cache configuration using the supplied template
|
Configuration |
getOrCreateCache(java.lang.String cacheName,
Configuration configuration,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
Defines a cluster-wide cache configuration or retrieves an existing one
|
Configuration |
getOrCreateCache(java.lang.String cacheName,
java.lang.String template,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
Defines a cluster-wide cache configuration using the supplied template or retrieves an existing one
|
void |
removeCache(java.lang.String cacheName,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
Removes a cluster-wide cache and its configuration
|
static final java.lang.String CONFIG_STATE_CACHE_NAME
Configuration createCache(java.lang.String cacheName, Configuration configuration, java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
cacheName - the name of the configurationconfiguration - the configuration objectflags - the flags to applyConfiguration getOrCreateCache(java.lang.String cacheName, Configuration configuration, java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
cacheName - the name of the configurationconfiguration - the configuration objectflags - the flags to applyConfiguration createCache(java.lang.String cacheName, java.lang.String template, java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
cacheName - the name of the configurationtemplate - the template name to useflags - the flags to applyConfiguration getOrCreateCache(java.lang.String cacheName, java.lang.String template, java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
cacheName - the name of the configurationtemplate - the template name to useflags - the flags to applyvoid removeCache(java.lang.String cacheName,
java.util.EnumSet<CacheContainerAdmin.AdminFlag> flags)
cacheName - the name of the cacheflags -