public enum TransactionIsolation extends Enum<TransactionIsolation>
Transaction
documentation for more information about cache transaction isolation levels.Enum Constant and Description |
---|
READ_COMMITTED
Read committed isolation level.
|
REPEATABLE_READ
Repeatable read isolation level.
|
SERIALIZABLE
Serializable isolation level.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable TransactionIsolation |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static TransactionIsolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIsolation READ_COMMITTED
public static final TransactionIsolation REPEATABLE_READ
public static final TransactionIsolation SERIALIZABLE
public static TransactionIsolation[] values()
for (TransactionIsolation c : TransactionIsolation.values()) System.out.println(c);
public static TransactionIsolation 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 TransactionIsolation fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019