Package org.infinispan.globalstate
Enum ConfigurationStorage
- java.lang.Object
-
- java.lang.Enum<ConfigurationStorage>
-
- org.infinispan.globalstate.ConfigurationStorage
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationStorage>
public enum ConfigurationStorage extends Enum<ConfigurationStorage>
Configuration storage- Since:
- 9.2
- Author:
- Tristan Tarrant
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM
Lets you provide a configuration storage provider.IMMUTABLE
Prevents the creation or removal of caches.MANAGED
StoresCacheContainerAdmin.AdminFlag.PERMANENT
caches in a managed environment such as the server model.OVERLAY
Persists cache configurations to theGlobalStateConfiguration.persistentLocation()
in aVOLATILE
Stores cache configurations in volatile storage.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
IMMUTABLE
public static final ConfigurationStorage IMMUTABLE
Prevents the creation or removal of caches.
-
VOLATILE
public static final ConfigurationStorage VOLATILE
Stores cache configurations in volatile storage. Does not supportCacheContainerAdmin.AdminFlag.PERMANENT
-
OVERLAY
public static final ConfigurationStorage OVERLAY
Persists cache configurations to theGlobalStateConfiguration.persistentLocation()
in acaches.xml
file that is read on startup.
-
MANAGED
public static final ConfigurationStorage MANAGED
StoresCacheContainerAdmin.AdminFlag.PERMANENT
caches in a managed environment such as the server model. Supported in server deployments only.
-
CUSTOM
public static final ConfigurationStorage CUSTOM
Lets you provide a configuration storage provider. Providers must implement theLocalConfigurationStorage
interface.
-
-
Method Detail
-
values
public static ConfigurationStorage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationStorage c : ConfigurationStorage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationStorage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-