Package org.infinispan.registry
Enum InternalCacheRegistry.Flag
- All Implemented Interfaces:
Serializable
,Comparable<InternalCacheRegistry.Flag>
- Enclosing interface:
- InternalCacheRegistry
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionmeans that the cache must be declared only oncemeans that this cache will be global to all nodes when running in clustered modemeans the cache should be made persistent across restarts if global state persistence is enabledmeans that his cache requires security to be accessible remotelymeans that this cache should be queryablemeans that this cache is visible to users -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalCacheRegistry.Flag
Returns the enum constant of this type with the specified name.static InternalCacheRegistry.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXCLUSIVE
means that the cache must be declared only once -
USER
means that this cache is visible to users -
PROTECTED
means that his cache requires security to be accessible remotely -
PERSISTENT
means the cache should be made persistent across restarts if global state persistence is enabled -
QUERYABLE
means that this cache should be queryable -
GLOBAL
means that this cache will be global to all nodes when running in clustered mode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-