Enum IgniteIdGenOperation
- java.lang.Object
-
- java.lang.Enum<IgniteIdGenOperation>
-
- org.apache.camel.component.ignite.idgen.IgniteIdGenOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<IgniteIdGenOperation>
public enum IgniteIdGenOperation extends Enum<IgniteIdGenOperation>
Enumeration of ID Generator / AtomicSequence operations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_AND_GET
GET
GET_AND_ADD
GET_AND_INCREMENT
INCREMENT_AND_GET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IgniteIdGenOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static IgniteIdGenOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_AND_GET
public static final IgniteIdGenOperation ADD_AND_GET
-
GET
public static final IgniteIdGenOperation GET
-
GET_AND_ADD
public static final IgniteIdGenOperation GET_AND_ADD
-
GET_AND_INCREMENT
public static final IgniteIdGenOperation GET_AND_INCREMENT
-
INCREMENT_AND_GET
public static final IgniteIdGenOperation INCREMENT_AND_GET
-
-
Method Detail
-
values
public static IgniteIdGenOperation[] 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 (IgniteIdGenOperation c : IgniteIdGenOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IgniteIdGenOperation 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
-
-