Package org.infinispan.statetransfer
Enum StateRequestCommand.Type
- java.lang.Object
-
- java.lang.Enum<StateRequestCommand.Type>
-
- org.infinispan.statetransfer.StateRequestCommand.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StateRequestCommand.Type>
- Enclosing class:
- StateRequestCommand
public static enum StateRequestCommand.Type extends java.lang.Enum<StateRequestCommand.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL_CONSISTENCY_CHECK
CANCEL_STATE_TRANSFER
CONFIRM_REVOKED_SEGMENTS
GET_CACHE_LISTENERS
GET_TRANSACTIONS
START_CONSISTENCY_CHECK
START_KEYS_TRANSFER
START_STATE_TRANSFER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateRequestCommand.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StateRequestCommand.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_TRANSACTIONS
public static final StateRequestCommand.Type GET_TRANSACTIONS
-
GET_CACHE_LISTENERS
public static final StateRequestCommand.Type GET_CACHE_LISTENERS
-
START_CONSISTENCY_CHECK
public static final StateRequestCommand.Type START_CONSISTENCY_CHECK
-
CANCEL_CONSISTENCY_CHECK
public static final StateRequestCommand.Type CANCEL_CONSISTENCY_CHECK
-
START_KEYS_TRANSFER
public static final StateRequestCommand.Type START_KEYS_TRANSFER
-
START_STATE_TRANSFER
public static final StateRequestCommand.Type START_STATE_TRANSFER
-
CANCEL_STATE_TRANSFER
public static final StateRequestCommand.Type CANCEL_STATE_TRANSFER
-
CONFIRM_REVOKED_SEGMENTS
public static final StateRequestCommand.Type CONFIRM_REVOKED_SEGMENTS
-
-
Method Detail
-
values
public static StateRequestCommand.Type[] 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 (StateRequestCommand.Type c : StateRequestCommand.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateRequestCommand.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-