Enum TransactionGetMultiMode

java.lang.Object
java.lang.Enum<TransactionGetMultiMode>
com.couchbase.client.java.transactions.getmulti.TransactionGetMultiMode
All Implemented Interfaces:
Serializable, Comparable<TransactionGetMultiMode>

@Uncommitted public enum TransactionGetMultiMode extends Enum<TransactionGetMultiMode>
  • Enum Constant Details

    • PRIORITISE_LATENCY

      public static final TransactionGetMultiMode PRIORITISE_LATENCY
      Some time-bounded effort will be made to detect and avoid read skew.
    • DISABLE_READ_SKEW_DETECTION

      public static final TransactionGetMultiMode DISABLE_READ_SKEW_DETECTION
      No read skew detection will be attempted. Once the documents are fetched they will be returned immediately.
    • PRIORITISE_READ_SKEW_DETECTION

      public static final TransactionGetMultiMode PRIORITISE_READ_SKEW_DETECTION
      Great effort will be made to detect and avoid read skew.
  • Method Details

    • values

      public static TransactionGetMultiMode[] 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 TransactionGetMultiMode 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
    • toCore

      @Internal public com.couchbase.client.core.transaction.getmulti.CoreTransactionGetMultiMode toCore()