net.rubyeye.xmemcached.command.binary
Enum OpCode
java.lang.Object
java.lang.Enum<OpCode>
net.rubyeye.xmemcached.command.binary.OpCode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OpCode>
public enum OpCode
- extends java.lang.Enum<OpCode>
Binary command Opcodes
- Author:
- dennis
|
Method Summary |
abstract byte |
fieldValue()
|
static OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GET
public static final OpCode GET
GET_QUIETLY
public static final OpCode GET_QUIETLY
GET_KEY
public static final OpCode GET_KEY
GET_KEY_QUIETLY
public static final OpCode GET_KEY_QUIETLY
SET
public static final OpCode SET
SET_QUIETLY
public static final OpCode SET_QUIETLY
REPLACE
public static final OpCode REPLACE
REPLACE_QUIETLY
public static final OpCode REPLACE_QUIETLY
ADD
public static final OpCode ADD
ADD_QUIETLY
public static final OpCode ADD_QUIETLY
APPEND
public static final OpCode APPEND
APPEND_QUIETLY
public static final OpCode APPEND_QUIETLY
PREPEND
public static final OpCode PREPEND
PREPEND_QUIETLY
public static final OpCode PREPEND_QUIETLY
DELETE
public static final OpCode DELETE
DELETE_QUIETLY
public static final OpCode DELETE_QUIETLY
VERSION
public static final OpCode VERSION
QUITQ
public static final OpCode QUITQ
STAT
public static final OpCode STAT
NOOP
public static final OpCode NOOP
INCREMENT
public static final OpCode INCREMENT
INCREMENT_QUIETLY
public static final OpCode INCREMENT_QUIETLY
DECREMENT
public static final OpCode DECREMENT
DECREMENT_QUIETLY
public static final OpCode DECREMENT_QUIETLY
FLUSH
public static final OpCode FLUSH
FLUSH_QUIETLY
public static final OpCode FLUSH_QUIETLY
AUTH_LIST_MECHANISMS
public static final OpCode AUTH_LIST_MECHANISMS
AUTH_START
public static final OpCode AUTH_START
AUTH_STEP
public static final OpCode AUTH_STEP
values
public static OpCode[] 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 (OpCode c : OpCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OpCode 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 name
java.lang.NullPointerException - if the argument is null
fieldValue
public abstract byte fieldValue()
Copyright © 2011. All Rights Reserved.