public static enum Constants.ConcurrencyStrategy extends Enum<Constants.ConcurrencyStrategy>
| Enum Constant and Description |
|---|
DATABASE |
EXCLUSIVE |
OPTIMISTIC |
READ_ONLY |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static Constants.ConcurrencyStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ConcurrencyStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ConcurrencyStrategy UNSPECIFIED
public static final Constants.ConcurrencyStrategy READ_ONLY
public static final Constants.ConcurrencyStrategy EXCLUSIVE
public static final Constants.ConcurrencyStrategy DATABASE
public static final Constants.ConcurrencyStrategy OPTIMISTIC
public static Constants.ConcurrencyStrategy[] values()
for (Constants.ConcurrencyStrategy c : Constants.ConcurrencyStrategy.values()) System.out.println(c);
public static Constants.ConcurrencyStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null