Package com.couchbase.client.dcp.message
Enum Class DcpMutationMessage
- All Implemented Interfaces:
Serializable,Comparable<DcpMutationMessage>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic longbySeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static longcas(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static com.couchbase.client.core.deps.io.netty.buffer.ByteBufcontent(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static byte[]contentBytes(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static intexpiry(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 com.couchbase.client.core.deps.io.netty.buffer.ByteBufkey(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.This method parses the key incorrectly if collections are enabled.static StringkeyString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.This method parses the key incorrectly if collections are enabled.static StringDeprecated.This method parses the key incorrectly if collections are enabled.static intlockTime(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static intpartition(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static longrevisionSeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static StringtoString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static DcpMutationMessageReturns the enum constant of this class with the specified name.static DcpMutationMessage[]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) -
key
@Deprecated public static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf key(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead. -
keyString
@Deprecated public static String keyString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, Charset charset) Deprecated.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead. -
keyString
@Deprecated public static String keyString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead. -
content
public static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf content(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
contentBytes
public static byte[] contentBytes(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
cas
public static long cas(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
partition
public static int partition(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
bySeqno
public static long bySeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
revisionSeqno
public static long revisionSeqno(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) -
expiry
public static int expiry(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
lockTime
public static int lockTime(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
toString
-