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
A custom configuration storage providerIMMUTABLE
An immutable configuration storage provider.MANAGED
A configuration storage provider which stores configurations in a managed environment (e.g.OVERLAY
A configuration storage provider which stores configurations on the filesystemVOLATILE
A volatile configuration storage provider which doesn't supportCacheContainerAdmin.AdminFlag.PERMANENT
-
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
An immutable configuration storage provider. This forbids creating/removing caches
-
VOLATILE
public static final ConfigurationStorage VOLATILE
A volatile configuration storage provider which doesn't supportCacheContainerAdmin.AdminFlag.PERMANENT
-
OVERLAY
public static final ConfigurationStorage OVERLAY
A configuration storage provider which stores configurations on the filesystem
-
MANAGED
public static final ConfigurationStorage MANAGED
A configuration storage provider which stores configurations in a managed environment (e.g. the server model)
-
CUSTOM
public static final ConfigurationStorage CUSTOM
A custom configuration storage provider
-
-
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
-
-