Enum TransactionGetMultiMode
java.lang.Object
java.lang.Enum<TransactionGetMultiMode>
com.couchbase.client.java.transactions.getmulti.TransactionGetMultiMode
- All Implemented Interfaces:
Serializable
,Comparable<TransactionGetMultiMode>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo read skew detection will be attempted.Some time-bounded effort will be made to detect and avoid read skew.Great effort will be made to detect and avoid read skew. -
Method Summary
Modifier and TypeMethodDescriptioncom.couchbase.client.core.transaction.getmulti.CoreTransactionGetMultiMode
toCore()
static TransactionGetMultiMode
Returns the enum constant of this type with the specified name.static TransactionGetMultiMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIORITISE_LATENCY
Some time-bounded effort will be made to detect and avoid read skew. -
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
Great effort will be made to detect and avoid read skew.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toCore
@Internal public com.couchbase.client.core.transaction.getmulti.CoreTransactionGetMultiMode toCore()
-