Enum Class DcpExpirationMessage

java.lang.Object
java.lang.Enum<DcpExpirationMessage>
com.couchbase.client.dcp.message.DcpExpirationMessage
All Implemented Interfaces:
Serializable, Comparable<DcpExpirationMessage>, java.lang.constant.Constable

public enum DcpExpirationMessage extends Enum<DcpExpirationMessage>
  • Method Details

    • values

      public static DcpExpirationMessage[] 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

      public static DcpExpirationMessage valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • is

      public static boolean is(io.netty.buffer.ByteBuf buffer)
    • key

      @Deprecated public 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.
    • keyString

      @Deprecated public 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.
    • keyString

      @Deprecated public 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.
    • cas

      public static long cas(io.netty.buffer.ByteBuf buffer)
    • partition

      public static int partition(io.netty.buffer.ByteBuf buffer)
    • bySeqno

      public static long bySeqno(io.netty.buffer.ByteBuf buffer)
    • revisionSeqno

      public static long revisionSeqno(io.netty.buffer.ByteBuf buffer)
    • toString

      public static String toString(io.netty.buffer.ByteBuf buffer)