public enum DcpAddStreamRequest extends Enum<DcpAddStreamRequest>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
activeVbucketOnly(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.ACTIVE_VB_ONLY flag requested for the stream. |
static boolean |
diskOnly(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.DISK_ONLY flag requested for the stream. |
static int |
flags(io.netty.buffer.ByteBuf buffer) |
static void |
flags(io.netty.buffer.ByteBuf buffer,
int flags) |
static void |
init(io.netty.buffer.ByteBuf buffer) |
static boolean |
is(io.netty.buffer.ByteBuf buffer) |
static boolean |
latest(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.LATEST flag requested for the stream. |
static boolean |
noValue(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.NO_VALUE flag requested for the stream. |
static boolean |
strictVbucketUuid(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.STRICT_VB_UUID flag requested for the stream. |
static boolean |
takeover(io.netty.buffer.ByteBuf buffer)
Check if
StreamFlags.TAKEOVER flag requested for the stream. |
static DcpAddStreamRequest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpAddStreamRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static DcpAddStreamRequest[] values()
for (DcpAddStreamRequest c : DcpAddStreamRequest.values()) System.out.println(c);
public static DcpAddStreamRequest 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)
public static int flags(io.netty.buffer.ByteBuf buffer)
public static boolean takeover(io.netty.buffer.ByteBuf buffer)
StreamFlags.TAKEOVER flag requested for the stream.public static boolean diskOnly(io.netty.buffer.ByteBuf buffer)
StreamFlags.DISK_ONLY flag requested for the stream.public static boolean latest(io.netty.buffer.ByteBuf buffer)
StreamFlags.LATEST flag requested for the stream.public static boolean noValue(io.netty.buffer.ByteBuf buffer)
StreamFlags.NO_VALUE flag requested for the stream.public static boolean activeVbucketOnly(io.netty.buffer.ByteBuf buffer)
StreamFlags.ACTIVE_VB_ONLY flag requested for the stream.public static boolean strictVbucketUuid(io.netty.buffer.ByteBuf buffer)
StreamFlags.STRICT_VB_UUID flag requested for the stream.public static void init(io.netty.buffer.ByteBuf buffer)
public static void flags(io.netty.buffer.ByteBuf buffer,
int flags)
Copyright © 2021 Couchbase, Inc.. All rights reserved.