public enum TransactionConcurrency extends Enum<TransactionConcurrency>
Transaction
for more information
on transaction concurrency controls.Enum Constant and Description |
---|
OPTIMISTIC
Optimistic concurrency control.
|
PESSIMISTIC
Pessimistic concurrency control.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable TransactionConcurrency |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static TransactionConcurrency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionConcurrency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionConcurrency OPTIMISTIC
public static final TransactionConcurrency PESSIMISTIC
public static TransactionConcurrency[] values()
for (TransactionConcurrency c : TransactionConcurrency.values()) System.out.println(c);
public static TransactionConcurrency 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@Nullable public static @Nullable TransactionConcurrency fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024