Package com.couchbase.client.dcp.message
Enum Class DcpExpirationMessage
- All Implemented Interfaces:
Serializable,Comparable<DcpExpirationMessage>,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 longbySeqno(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static longcas(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 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 DcpExpirationMessageReturns the enum constant of this class with the specified name.static DcpExpirationMessage[]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. -
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) -
toString
-