public static enum Command.RequestType extends Enum<Command.RequestType>
Enum Constant and Description |
---|
BULK_SET |
KEY |
KEY_CNT_VALUE |
KEY_IDX_VALUE |
KEY_KEY |
KEY_KEY_NUM |
KEY_KEY_VALUE |
KEY_NUM |
KEY_NUM_NUM |
KEY_NUM_NUM_OPTS |
KEY_VALUE |
MULTI_KEY |
NO_ARG |
VALUE |
Modifier and Type | Method and Description |
---|---|
static Command.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.RequestType NO_ARG
public static final Command.RequestType KEY
public static final Command.RequestType VALUE
public static final Command.RequestType KEY_KEY
public static final Command.RequestType KEY_NUM
public static final Command.RequestType KEY_NUM_NUM
public static final Command.RequestType KEY_NUM_NUM_OPTS
public static final Command.RequestType KEY_VALUE
public static final Command.RequestType KEY_KEY_VALUE
public static final Command.RequestType KEY_IDX_VALUE
public static final Command.RequestType KEY_CNT_VALUE
public static final Command.RequestType MULTI_KEY
public static final Command.RequestType BULK_SET
public static final Command.RequestType KEY_KEY_NUM
public static Command.RequestType[] values()
for (Command.RequestType c : Command.RequestType.values()) System.out.println(c);
public static Command.RequestType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2017. All rights reserved.