public enum ConfigurationStorage extends java.lang.Enum<ConfigurationStorage>
| Enum Constant and Description |
|---|
CUSTOM
Lets you provide a configuration storage provider.
|
IMMUTABLE
Prevents the creation or removal of caches.
|
MANAGED
Stores
CacheContainerAdmin.AdminFlag.PERMANENT caches in a managed environment such as the server model. |
OVERLAY
Persists cache configurations to the
GlobalStateConfiguration.persistentLocation() in a |
VOLATILE
Stores cache configurations in volatile storage.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationStorage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationStorage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationStorage IMMUTABLE
public static final ConfigurationStorage VOLATILE
CacheContainerAdmin.AdminFlag.PERMANENTpublic static final ConfigurationStorage OVERLAY
GlobalStateConfiguration.persistentLocation() in a caches.xmlfile that is read on startup.
public static final ConfigurationStorage MANAGED
CacheContainerAdmin.AdminFlag.PERMANENT caches in a managed environment such as the server model. Supported in server deployments only.public static final ConfigurationStorage CUSTOM
LocalConfigurationStorage interface.public static ConfigurationStorage[] values()
for (ConfigurationStorage c : ConfigurationStorage.values()) System.out.println(c);
public static ConfigurationStorage valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null