Enum BinaryDecodeStatus
- java.lang.Object
-
- java.lang.Enum<BinaryDecodeStatus>
-
- net.rubyeye.xmemcached.command.binary.BinaryDecodeStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BinaryDecodeStatus>
public enum BinaryDecodeStatus extends java.lang.Enum<BinaryDecodeStatus>
Binary protocol decode status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONEIGNORENONEREAD_EXTRASREAD_KEYREAD_VALUE
-
Constructor Summary
Constructors Modifier Constructor Description privateBinaryDecodeStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BinaryDecodeStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BinaryDecodeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final BinaryDecodeStatus NONE
-
READ_EXTRAS
public static final BinaryDecodeStatus READ_EXTRAS
-
READ_KEY
public static final BinaryDecodeStatus READ_KEY
-
READ_VALUE
public static final BinaryDecodeStatus READ_VALUE
-
DONE
public static final BinaryDecodeStatus DONE
-
IGNORE
public static final BinaryDecodeStatus IGNORE
-
-
Method Detail
-
values
public static BinaryDecodeStatus[] 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 (BinaryDecodeStatus c : BinaryDecodeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryDecodeStatus 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
-
-