Package com.couchbase.client.dcp.message
Enum Class DcpAddStreamRequest
- All Implemented Interfaces:
Serializable,Comparable<DcpAddStreamRequest>,java.lang.constant.Constable
Sent to the consumer to tell the consumer to initiate a stream request with the producer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanactiveVbucketOnly(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.ACTIVE_VB_ONLYflag requested for the stream.static booleandiskOnly(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.DISK_ONLYflag requested for the stream.static intflags(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static voidflags(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int flags) static voidinit(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static booleanis(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static booleanlatest(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.LATESTflag requested for the stream.static booleannoValue(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.NO_VALUEflag requested for the stream.static booleanstrictVbucketUuid(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.STRICT_VB_UUIDflag requested for the stream.static booleantakeover(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.TAKEOVERflag requested for the stream.static DcpAddStreamRequestReturns the enum constant of this class with the specified name.static DcpAddStreamRequest[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
is
public static boolean is(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
flags
public static int flags(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
takeover
public static boolean takeover(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.TAKEOVERflag requested for the stream. -
diskOnly
public static boolean diskOnly(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.DISK_ONLYflag requested for the stream. -
latest
public static boolean latest(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.LATESTflag requested for the stream. -
noValue
public static boolean noValue(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.NO_VALUEflag requested for the stream. -
activeVbucketOnly
public static boolean activeVbucketOnly(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.ACTIVE_VB_ONLYflag requested for the stream. -
strictVbucketUuid
public static boolean strictVbucketUuid(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifStreamFlags.STRICT_VB_UUIDflag requested for the stream. -
init
public static void init(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
flags
public static void flags(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int flags)
-