public enum DcpControlResponse extends Enum<DcpControlResponse>
| 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
DcpControlResponse 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 DcpControlResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpControlResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static DcpControlResponse[] values()
for (DcpControlResponse c : DcpControlResponse.values()) System.out.println(c);
public static DcpControlResponse 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)
DcpControlResponse 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.