public enum DcpExpirationMessage extends Enum<DcpExpirationMessage>
| Modifier and Type | Method and Description |
|---|---|
static long |
bySeqno(io.netty.buffer.ByteBuf buffer) |
static long |
cas(io.netty.buffer.ByteBuf buffer) |
static boolean |
is(io.netty.buffer.ByteBuf buffer) |
static io.netty.buffer.ByteBuf |
key(io.netty.buffer.ByteBuf buffer)
Deprecated.
This method parses the key incorrectly if collections are enabled.
Please use
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead. |
static String |
keyString(io.netty.buffer.ByteBuf buffer)
Deprecated.
This method parses the key incorrectly if collections are enabled.
Please use
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead. |
static String |
keyString(io.netty.buffer.ByteBuf buffer,
Charset charset)
Deprecated.
This method parses the key incorrectly if collections are enabled.
Please use
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead. |
static int |
partition(io.netty.buffer.ByteBuf buffer) |
static long |
revisionSeqno(io.netty.buffer.ByteBuf buffer) |
static String |
toString(io.netty.buffer.ByteBuf buffer) |
static DcpExpirationMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpExpirationMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static DcpExpirationMessage[] values()
for (DcpExpirationMessage c : DcpExpirationMessage.values()) System.out.println(c);
public static DcpExpirationMessage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean is(io.netty.buffer.ByteBuf buffer)
@Deprecated public static io.netty.buffer.ByteBuf key(io.netty.buffer.ByteBuf buffer)
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead.@Deprecated public static String keyString(io.netty.buffer.ByteBuf buffer, Charset charset)
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead.@Deprecated public static String keyString(io.netty.buffer.ByteBuf buffer)
MessageUtil.getCollectionIdAndKey(ByteBuf, boolean) instead.public static long cas(io.netty.buffer.ByteBuf buffer)
public static int partition(io.netty.buffer.ByteBuf buffer)
public static long bySeqno(io.netty.buffer.ByteBuf buffer)
public static long revisionSeqno(io.netty.buffer.ByteBuf buffer)
public static String toString(io.netty.buffer.ByteBuf buffer)
Copyright © 2021 Couchbase, Inc.. All rights reserved.