Enum ForwardCompatibilityStages
- java.lang.Object
-
- java.lang.Enum<ForwardCompatibilityStages>
-
- com.couchbase.transactions.forwards.ForwardCompatibilityStages
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ForwardCompatibilityStages>
@Internal public enum ForwardCompatibilityStages extends java.lang.Enum<ForwardCompatibilityStages>
Points in the protocol where forward compatibility can be checked.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<ForwardCompatibilityStages>
FC_ALL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
value()
static ForwardCompatibilityStages
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ForwardCompatibilityStages[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITE_WRITE_CONFLICT_READING_ATR
public static final ForwardCompatibilityStages WRITE_WRITE_CONFLICT_READING_ATR
-
WRITE_WRITE_CONFLICT_REPLACING
public static final ForwardCompatibilityStages WRITE_WRITE_CONFLICT_REPLACING
-
WRITE_WRITE_CONFLICT_REMOVING
public static final ForwardCompatibilityStages WRITE_WRITE_CONFLICT_REMOVING
-
WRITE_WRITE_CONFLICT_INSERTING
public static final ForwardCompatibilityStages WRITE_WRITE_CONFLICT_INSERTING
-
WRITE_WRITE_CONFLICT_INSERTING_GET
public static final ForwardCompatibilityStages WRITE_WRITE_CONFLICT_INSERTING_GET
-
GETS
public static final ForwardCompatibilityStages GETS
-
GETS_READING_ATR
public static final ForwardCompatibilityStages GETS_READING_ATR
-
CLEANUP_ENTRY
public static final ForwardCompatibilityStages CLEANUP_ENTRY
-
CAS_MISMATCH_DURING_COMMIT
public static final ForwardCompatibilityStages CAS_MISMATCH_DURING_COMMIT
-
CAS_MISMATCH_DURING_ROLLBACK
public static final ForwardCompatibilityStages CAS_MISMATCH_DURING_ROLLBACK
-
CAS_MISMATCH_DURING_STAGING
public static final ForwardCompatibilityStages CAS_MISMATCH_DURING_STAGING
-
-
Field Detail
-
FC_ALL
public static final java.util.EnumSet<ForwardCompatibilityStages> FC_ALL
-
-
Method Detail
-
values
public static ForwardCompatibilityStages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ForwardCompatibilityStages c : ForwardCompatibilityStages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardCompatibilityStages valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
-