public enum GridCacheTxIsolation extends Enum<GridCacheTxIsolation>
GridCacheTx
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 GridCacheTxIsolation |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheTxIsolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridCacheTxIsolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridCacheTxIsolation READ_COMMITTED
public static final GridCacheTxIsolation REPEATABLE_READ
public static final GridCacheTxIsolation SERIALIZABLE
public static GridCacheTxIsolation[] values()
for (GridCacheTxIsolation c : GridCacheTxIsolation.values()) System.out.println(c);
public static GridCacheTxIsolation 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 GridCacheTxIsolation fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.Copyright © 2014. All rights reserved.