Enum AtlasDbConstraintCheckingMode
- java.lang.Object
-
- java.lang.Enum<AtlasDbConstraintCheckingMode>
-
- com.palantir.atlasdb.transaction.api.AtlasDbConstraintCheckingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AtlasDbConstraintCheckingMode>
public enum AtlasDbConstraintCheckingMode extends Enum<AtlasDbConstraintCheckingMode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldThrowException()
static AtlasDbConstraintCheckingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AtlasDbConstraintCheckingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_CONSTRAINT_CHECKING_THROWS_EXCEPTIONS
public static final AtlasDbConstraintCheckingMode FULL_CONSTRAINT_CHECKING_THROWS_EXCEPTIONS
-
FULL_CONSTRAINT_CHECKING_LOGS_EXCEPTIONS
public static final AtlasDbConstraintCheckingMode FULL_CONSTRAINT_CHECKING_LOGS_EXCEPTIONS
-
PERFORMANCE_OPTIMAL_CONSTRAINT_CHECKING_THROWS_EXCEPTIONS
public static final AtlasDbConstraintCheckingMode PERFORMANCE_OPTIMAL_CONSTRAINT_CHECKING_THROWS_EXCEPTIONS
-
PERFORMANCE_OPTIMAL_CONSTRAINT_CHECKING_LOGS_EXCEPTIONS
public static final AtlasDbConstraintCheckingMode PERFORMANCE_OPTIMAL_CONSTRAINT_CHECKING_LOGS_EXCEPTIONS
-
NO_CONSTRAINT_CHECKING
public static final AtlasDbConstraintCheckingMode NO_CONSTRAINT_CHECKING
-
-
Method Detail
-
values
public static AtlasDbConstraintCheckingMode[] 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 (AtlasDbConstraintCheckingMode c : AtlasDbConstraintCheckingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AtlasDbConstraintCheckingMode 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
-
shouldThrowException
public boolean shouldThrowException()
-
-