Package org.redisson.api
Enum FunctionLibrary.Flag
- java.lang.Object
-
- java.lang.Enum<FunctionLibrary.Flag>
-
- org.redisson.api.FunctionLibrary.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<FunctionLibrary.Flag>
- Enclosing class:
- FunctionLibrary
public static enum FunctionLibrary.Flag extends Enum<FunctionLibrary.Flag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_OOM
ALLOW_STALE
NO_CLUSTER
NO_WRITES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionLibrary.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static FunctionLibrary.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_WRITES
public static final FunctionLibrary.Flag NO_WRITES
-
ALLOW_OOM
public static final FunctionLibrary.Flag ALLOW_OOM
-
ALLOW_STALE
public static final FunctionLibrary.Flag ALLOW_STALE
-
NO_CLUSTER
public static final FunctionLibrary.Flag NO_CLUSTER
-
-
Method Detail
-
values
public static FunctionLibrary.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 (FunctionLibrary.Flag c : FunctionLibrary.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 FunctionLibrary.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
-
-