Enum DcpMutationMessage

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

public enum DcpMutationMessage extends Enum<DcpMutationMessage>
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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
    keyString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, Charset charset)
    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)
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • values

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

      public static DcpMutationMessage valueOf(String name)
      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 name
      NullPointerException - 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 use MessageUtil.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 use MessageUtil.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 use MessageUtil.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

      public static String toString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)