public enum DcpControlRequest extends Enum<DcpControlRequest>
| Modifier and Type | Method and Description |
|---|---|
static void |
init(io.netty.buffer.ByteBuf buffer)
Initialize the buffer with all the values needed.
|
static boolean |
is(io.netty.buffer.ByteBuf buffer)
If the given buffer is a
DcpControlRequest message. |
static void |
key(String key,
io.netty.buffer.ByteBuf buffer) |
static void |
value(io.netty.buffer.ByteBuf value,
io.netty.buffer.ByteBuf buffer) |
static DcpControlRequest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpControlRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static DcpControlRequest[] values()
for (DcpControlRequest c : DcpControlRequest.values()) System.out.println(c);
public static DcpControlRequest 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 nullpublic static boolean is(io.netty.buffer.ByteBuf buffer)
DcpControlRequest message.public static void init(io.netty.buffer.ByteBuf buffer)
Note that this will implicitly set the flags to "consumer".
public static void key(String key, io.netty.buffer.ByteBuf buffer)
public static void value(io.netty.buffer.ByteBuf value,
io.netty.buffer.ByteBuf buffer)
Copyright © 2021 Couchbase, Inc.. All rights reserved.