Package net.rubyeye.xmemcached.command
Enum CommandType
- java.lang.Object
-
- java.lang.Enum<CommandType>
-
- net.rubyeye.xmemcached.command.CommandType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CommandType>
public enum CommandType extends java.lang.Enum<CommandType>
Command Type for memcached protocol.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CommandType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CommandType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOOP
public static final CommandType NOOP
-
STATS
public static final CommandType STATS
-
FLUSH_ALL
public static final CommandType FLUSH_ALL
-
GET_ONE
public static final CommandType GET_ONE
-
GET_MANY
public static final CommandType GET_MANY
-
SET
public static final CommandType SET
-
REPLACE
public static final CommandType REPLACE
-
ADD
public static final CommandType ADD
-
EXCEPTION
public static final CommandType EXCEPTION
-
DELETE
public static final CommandType DELETE
-
VERSION
public static final CommandType VERSION
-
QUIT
public static final CommandType QUIT
-
INCR
public static final CommandType INCR
-
DECR
public static final CommandType DECR
-
GETS_ONE
public static final CommandType GETS_ONE
-
GETS_MANY
public static final CommandType GETS_MANY
-
CAS
public static final CommandType CAS
-
APPEND
public static final CommandType APPEND
-
PREPEND
public static final CommandType PREPEND
-
GET_HIT
public static final CommandType GET_HIT
-
GET_MISS
public static final CommandType GET_MISS
-
VERBOSITY
public static final CommandType VERBOSITY
-
AUTH_LIST
public static final CommandType AUTH_LIST
-
AUTH_START
public static final CommandType AUTH_START
-
AUTH_STEP
public static final CommandType AUTH_STEP
-
TOUCH
public static final CommandType TOUCH
-
GAT
public static final CommandType GAT
-
GATQ
public static final CommandType GATQ
-
SET_MANY
public static final CommandType SET_MANY
-
AWS_CONFIG
public static final CommandType AWS_CONFIG
-
-
Method Detail
-
values
public static CommandType[] 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 (CommandType c : CommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandType 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
-
-