java.io.Serializable, java.lang.Comparable<Constants.ConcurrencyStrategy>public static enum Constants.ConcurrencyStrategy extends java.lang.Enum<Constants.ConcurrencyStrategy>
| Enum Constant | Description |
|---|---|
DATABASE |
|
EXCLUSIVE |
|
OPTIMISTIC |
|
READ_ONLY |
|
UNSPECIFIED |
| Modifier and Type | Method | Description |
|---|---|---|
static Constants.ConcurrencyStrategy |
valueOf(java.lang.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(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 null