Enum ForwardCompatibilityStage
- java.lang.Object
-
- java.lang.Enum<ForwardCompatibilityStage>
-
- com.couchbase.client.core.transaction.forwards.ForwardCompatibilityStage
-
- All Implemented Interfaces:
Serializable
,Comparable<ForwardCompatibilityStage>
@Internal public enum ForwardCompatibilityStage extends Enum<ForwardCompatibilityStage>
Points in the protocol where forward compatibility can be checked.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
static ForwardCompatibilityStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static ForwardCompatibilityStage[]
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 ForwardCompatibilityStage WRITE_WRITE_CONFLICT_READING_ATR
-
WRITE_WRITE_CONFLICT_REPLACING
public static final ForwardCompatibilityStage WRITE_WRITE_CONFLICT_REPLACING
-
WRITE_WRITE_CONFLICT_REMOVING
public static final ForwardCompatibilityStage WRITE_WRITE_CONFLICT_REMOVING
-
WRITE_WRITE_CONFLICT_INSERTING
public static final ForwardCompatibilityStage WRITE_WRITE_CONFLICT_INSERTING
-
WRITE_WRITE_CONFLICT_INSERTING_GET
public static final ForwardCompatibilityStage WRITE_WRITE_CONFLICT_INSERTING_GET
-
GETS
public static final ForwardCompatibilityStage GETS
-
GETS_READING_ATR
public static final ForwardCompatibilityStage GETS_READING_ATR
-
CLEANUP_ENTRY
public static final ForwardCompatibilityStage CLEANUP_ENTRY
-
CAS_MISMATCH_DURING_COMMIT
public static final ForwardCompatibilityStage CAS_MISMATCH_DURING_COMMIT
-
CAS_MISMATCH_DURING_ROLLBACK
public static final ForwardCompatibilityStage CAS_MISMATCH_DURING_ROLLBACK
-
CAS_MISMATCH_DURING_STAGING
public static final ForwardCompatibilityStage CAS_MISMATCH_DURING_STAGING
-
-
Method Detail
-
values
public static ForwardCompatibilityStage[] 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 (ForwardCompatibilityStage c : ForwardCompatibilityStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardCompatibilityStage 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
-