static enum AbstractBinaryMemcacheDecoder.State extends java.lang.Enum<AbstractBinaryMemcacheDecoder.State>
READ_HEADER
. All other steps depend on the length fields
in the header and will be executed conditionally.Enum Constant and Description |
---|
BAD_MESSAGE
Something went wrong while decoding the message or chunks.
|
READ_CONTENT
Currently reading the value chunks (optional).
|
READ_EXTRAS
Currently reading the extras portion (optional).
|
READ_HEADER
Currently reading the header portion.
|
READ_KEY
Currently reading the key portion (optional).
|
Modifier and Type | Method and Description |
---|---|
static AbstractBinaryMemcacheDecoder.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractBinaryMemcacheDecoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractBinaryMemcacheDecoder.State READ_HEADER
public static final AbstractBinaryMemcacheDecoder.State READ_EXTRAS
public static final AbstractBinaryMemcacheDecoder.State READ_KEY
public static final AbstractBinaryMemcacheDecoder.State READ_CONTENT
public static final AbstractBinaryMemcacheDecoder.State BAD_MESSAGE
public static AbstractBinaryMemcacheDecoder.State[] values()
for (AbstractBinaryMemcacheDecoder.State c : AbstractBinaryMemcacheDecoder.State.values()) System.out.println(c);
public static AbstractBinaryMemcacheDecoder.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null