Enum TransactionGetMultiReplicasFromPreferredServerGroupMode
java.lang.Object
java.lang.Enum<TransactionGetMultiReplicasFromPreferredServerGroupMode>
com.couchbase.client.java.transactions.getmulti.TransactionGetMultiReplicasFromPreferredServerGroupMode
- All Implemented Interfaces:
- Serializable,- Comparable<TransactionGetMultiReplicasFromPreferredServerGroupMode>
@Uncommitted
public enum TransactionGetMultiReplicasFromPreferredServerGroupMode
extends Enum<TransactionGetMultiReplicasFromPreferredServerGroupMode>
- 
Enum Constant SummaryEnum 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
- 
Enum Constant Details- 
PRIORITISE_LATENCYSome time-bounded effort will be made to detect and avoid read skew.
- 
DISABLE_READ_SKEW_DETECTIONpublic static final TransactionGetMultiReplicasFromPreferredServerGroupMode DISABLE_READ_SKEW_DETECTIONNo read skew detection will be attempted. Once the documents are fetched they will be returned immediately.
- 
PRIORITISE_READ_SKEW_DETECTIONpublic static final TransactionGetMultiReplicasFromPreferredServerGroupMode PRIORITISE_READ_SKEW_DETECTIONGreat effort will be made to detect and avoid read skew.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
-