Package org.infinispan.registry
Enum InternalCacheRegistry.Flag
- java.lang.Object
-
- java.lang.Enum<InternalCacheRegistry.Flag>
-
- org.infinispan.registry.InternalCacheRegistry.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<InternalCacheRegistry.Flag>
- Enclosing interface:
- InternalCacheRegistry
public static enum InternalCacheRegistry.Flag extends Enum<InternalCacheRegistry.Flag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUSIVE
means that the cache must be declared only onceGLOBAL
means that this cache will be global to all nodes when running in clustered modePERSISTENT
means the cache should be made persistent across restarts if global state persistence is enabledPROTECTED
means that his cache requires security to be accessible remotelyQUERYABLE
means that this cache should be queryableUSER
means that this cache is visible to users
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalCacheRegistry.Flag
valueOf(String name)
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 Detail
-
EXCLUSIVE
public static final InternalCacheRegistry.Flag EXCLUSIVE
means that the cache must be declared only once
-
USER
public static final InternalCacheRegistry.Flag USER
means that this cache is visible to users
-
PROTECTED
public static final InternalCacheRegistry.Flag PROTECTED
means that his cache requires security to be accessible remotely
-
PERSISTENT
public static final InternalCacheRegistry.Flag PERSISTENT
means the cache should be made persistent across restarts if global state persistence is enabled
-
QUERYABLE
public static final InternalCacheRegistry.Flag QUERYABLE
means that this cache should be queryable
-
GLOBAL
public static final InternalCacheRegistry.Flag GLOBAL
means that this cache will be global to all nodes when running in clustered mode
-
-
Method Detail
-
values
public static InternalCacheRegistry.Flag[] 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 (InternalCacheRegistry.Flag c : InternalCacheRegistry.Flag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalCacheRegistry.Flag 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
-
-