Package oracle.pgx.config
Enum UpdateConsistencyModel
- java.lang.Object
-
- java.lang.Enum<UpdateConsistencyModel>
-
- oracle.pgx.config.UpdateConsistencyModel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UpdateConsistencyModel>
public enum UpdateConsistencyModel extends java.lang.Enum<UpdateConsistencyModel>
The Consistency models to be used with in-place updates
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_INCONSISTENCIES
Tasks that are running when a non-structural update occurs are allowed to finish (possibly returning incorrect results).CANCEL_TASKS
Tasks that are running when a non-structural update occurs are canceled so as to prevent (possible) inconsistent results.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateConsistencyModel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UpdateConsistencyModel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCEL_TASKS
public static final UpdateConsistencyModel CANCEL_TASKS
Tasks that are running when a non-structural update occurs are canceled so as to prevent (possible) inconsistent results. Tasks that occur during a non-structural update are delayed until the update is finished.
-
ALLOW_INCONSISTENCIES
public static final UpdateConsistencyModel ALLOW_INCONSISTENCIES
Tasks that are running when a non-structural update occurs are allowed to finish (possibly returning incorrect results). Tasks that occur during a non-structural update are delayed until the update is finished
-
-
Method Detail
-
values
public static UpdateConsistencyModel[] 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 (UpdateConsistencyModel c : UpdateConsistencyModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateConsistencyModel 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
-
-