public enum UpdateConsistencyModel extends java.lang.Enum<UpdateConsistencyModel>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final UpdateConsistencyModel ALLOW_INCONSISTENCIES
public static final UpdateConsistencyModel CANCEL_TASKS
public static UpdateConsistencyModel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UpdateConsistencyModel[] values()
for (UpdateConsistencyModel c : UpdateConsistencyModel.values()) System.out.println(c);
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.