Enum Constant and Description |
---|
DELETE
Defines a delete message to specify a key has been deleted.
|
END_CHECKPOINT
Defines the end of a checkpoint.
|
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.
|
START_CHECKPOINT
Defines the start of a checkpoint.
|
VBUCKETSET
Defines a vBucket set message to set the state of a vBucket in the
consumer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static final TapOpcode START_CHECKPOINT
public static final TapOpcode END_CHECKPOINT
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 namejava.lang.NullPointerException
- if the argument is nullpublic byte getOpcode()
public static TapOpcode getOpcodeByByte(byte b)
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.