|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TapOpcode>
net.spy.memcached.tapmessage.TapOpcode
public enum TapOpcode
The Opcode enum contains a list all of the different opcodes that can be passed in a tap message in the flag field.
Enum Constant Summary | |
---|---|
DELETE
Defines a delete message to specify a key has been deleted. |
|
FLUSH
Defines a tap flush message. |
|
MUTATION
Defines a key-value mutation message to specify a key-value has changed. |
|
NOOP
Defines a tap no-op message. |
|
OPAQUE
Defines a opaque message to send control data to the consumer. |
|
REQUEST
Defines a request message to open a tap connection. |
|
SASLAUTH
Defines a SASL authorization message. |
|
SASLLIST
Defines a SASL list mechanism message. |
|
VBUCKETSET
Defines a vBucket set message to set the state of a vBucket in the consumer. |
Method Summary | |
---|---|
byte |
getOpcode()
|
static TapOpcode |
getOpcodeByByte(byte b)
|
static TapOpcode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TapOpcode[] |
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 |
Enum Constant Detail |
---|
public static final TapOpcode NOOP
public static final TapOpcode SASLLIST
public static final TapOpcode SASLAUTH
public static final TapOpcode REQUEST
public static final TapOpcode MUTATION
public static final TapOpcode DELETE
public static final TapOpcode FLUSH
public static final TapOpcode OPAQUE
public static final TapOpcode VBUCKETSET
Method Detail |
---|
public static TapOpcode[] values()
for (TapOpcode c : TapOpcode.values()) System.out.println(c);
public static TapOpcode 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 name
java.lang.NullPointerException
- if the argument is nullpublic byte getOpcode()
public static TapOpcode getOpcodeByByte(byte b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |