Package org.infinispan.commons.api
Enum Class CacheContainerAdmin.AdminFlag
java.lang.Object
java.lang.Enum<CacheContainerAdmin.AdminFlag>
org.infinispan.commons.api.CacheContainerAdmin.AdminFlag
- All Implemented Interfaces:
Serializable
,Comparable<CacheContainerAdmin.AdminFlag>
,Constable
- Enclosing interface:
CacheContainerAdmin<C extends CacheContainerAdmin,
A extends BasicConfiguration>
Flags which affect only administrative operations
- Since:
- 9.2
- Author:
- Tristan Tarrant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.configurations are now always permanent by default.If a configuration already exists, and is compatible with the supplied configuration, update it.Configuration changes will not be persisted to the global state. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet
<CacheContainerAdmin.AdminFlag> fromString
(String s) valueOf
(int index) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static CacheContainerAdmin.AdminFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERMANENT
@Deprecated(forRemoval=true, since="11.0") public static final CacheContainerAdmin.AdminFlag PERMANENTDeprecated, for removal: This API element is subject to removal in a future version.configurations are now always permanent by default. Use theVOLATILE
flag to obtain the opposite behaviour.If the operation affects configuration, make it permanent, which means it will survive restarts. If the server cannot honor this flag an error will be returned -
VOLATILE
Configuration changes will not be persisted to the global state. -
UPDATE
If a configuration already exists, and is compatible with the supplied configuration, update it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
index
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
-