Enum XSiteStateTransferControlCommand.StateTransferControl
- java.lang.Object
-
- java.lang.Enum<XSiteStateTransferControlCommand.StateTransferControl>
-
- org.infinispan.xsite.statetransfer.XSiteStateTransferControlCommand.StateTransferControl
-
- All Implemented Interfaces:
Serializable
,Comparable<XSiteStateTransferControlCommand.StateTransferControl>
- Enclosing class:
- XSiteStateTransferControlCommand
public static enum XSiteStateTransferControlCommand.StateTransferControl extends Enum<XSiteStateTransferControlCommand.StateTransferControl>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL_SEND
CLEAR_STATUS
FINISH_RECEIVE
FINISH_SEND
RESTART_SEND
START_RECEIVE
START_SEND
STATUS_REQUEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XSiteStateTransferControlCommand.StateTransferControl
valueOf(String name)
Returns the enum constant of this type with the specified name.static XSiteStateTransferControlCommand.StateTransferControl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_SEND
public static final XSiteStateTransferControlCommand.StateTransferControl START_SEND
-
START_RECEIVE
public static final XSiteStateTransferControlCommand.StateTransferControl START_RECEIVE
-
FINISH_SEND
public static final XSiteStateTransferControlCommand.StateTransferControl FINISH_SEND
-
FINISH_RECEIVE
public static final XSiteStateTransferControlCommand.StateTransferControl FINISH_RECEIVE
-
CANCEL_SEND
public static final XSiteStateTransferControlCommand.StateTransferControl CANCEL_SEND
-
RESTART_SEND
public static final XSiteStateTransferControlCommand.StateTransferControl RESTART_SEND
-
STATUS_REQUEST
public static final XSiteStateTransferControlCommand.StateTransferControl STATUS_REQUEST
-
CLEAR_STATUS
public static final XSiteStateTransferControlCommand.StateTransferControl CLEAR_STATUS
-
-
Method Detail
-
values
public static XSiteStateTransferControlCommand.StateTransferControl[] 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 (XSiteStateTransferControlCommand.StateTransferControl c : XSiteStateTransferControlCommand.StateTransferControl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XSiteStateTransferControlCommand.StateTransferControl 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
-
-