Package de.caluga.morphium.async
Enum AsyncOperationType
- java.lang.Object
-
- java.lang.Enum<AsyncOperationType>
-
- de.caluga.morphium.async.AsyncOperationType
-
- All Implemented Interfaces:
Serializable,Comparable<AsyncOperationType>
public enum AsyncOperationType extends Enum<AsyncOperationType>
User: Stephan Bösebeck Date: 13.02.13 Time: 15:41 Different types of asynchronous operations. needed for callbacks and used inernally
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncOperationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AsyncOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final AsyncOperationType READ
-
WRITE
public static final AsyncOperationType WRITE
-
UPDATE
public static final AsyncOperationType UPDATE
-
SET
public static final AsyncOperationType SET
-
INC
public static final AsyncOperationType INC
-
UNSET
public static final AsyncOperationType UNSET
-
PUSH
public static final AsyncOperationType PUSH
-
PULL
public static final AsyncOperationType PULL
-
REMOVE
public static final AsyncOperationType REMOVE
-
ENSURE_INDICES
public static final AsyncOperationType ENSURE_INDICES
-
BULK
public static final AsyncOperationType BULK
-
-
Method Detail
-
values
public static AsyncOperationType[] 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 (AsyncOperationType c : AsyncOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsyncOperationType 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
-
-