Package com.couchbase.client.dcp.message
Enum DcpMutationMessage
- All Implemented Interfaces:
Serializable
,Comparable<DcpMutationMessage>
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
bySeqno
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static long
cas
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf
content
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static byte[]
contentBytes
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static int
expiry
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static int
flags
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static boolean
is
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) 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.static String
keyString
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.This method parses the key incorrectly if collections are enabled.static String
Deprecated.This method parses the key incorrectly if collections are enabled.static int
lockTime
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static int
partition
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static long
revisionSeqno
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static String
toString
(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static DcpMutationMessage
Returns the enum constant of this type with the specified name.static DcpMutationMessage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-