Package com.couchbase.client.dcp.message
Enum Class DcpSnapshotMarkerRequest
- All Implemented Interfaces:
Serializable,Comparable<DcpSnapshotMarkerRequest>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanack(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.ACKflag set for snapshot marker.static booleancheckpoint(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.CHECKPOINTflag set for snapshot marker.static booleandisk(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.DISKflag set for snapshot marker.static longendSeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static intflags(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static booleanis(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static booleanmemory(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.MEMORYflag set for snapshot marker.static intpartition(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static longstartSeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static StringtoString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static DcpSnapshotMarkerRequestReturns the enum constant of this class with the specified name.static DcpSnapshotMarkerRequest[]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) -
memory
public static boolean memory(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.MEMORYflag set for snapshot marker. -
disk
public static boolean disk(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.DISKflag set for snapshot marker. -
checkpoint
public static boolean checkpoint(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.CHECKPOINTflag set for snapshot marker. -
ack
public static boolean ack(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Check ifSnapshotMarkerFlags.ACKflag set for snapshot marker. -
startSeqno
public static long startSeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
endSeqno
public static long endSeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
toString
-
partition
public static int partition(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
-