public enum ConfigurationStorage extends 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(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.PERMANENT
public 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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.