public static enum Txn.Isolation extends Enum<Txn.Isolation>
| Enum Constant and Description |
|---|
DEFAULT |
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
static Txn.Isolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Txn.Isolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Txn.Isolation DEFAULT
public static final Txn.Isolation READ_COMMITTED
public static final Txn.Isolation READ_UNCOMMITTED
public static final Txn.Isolation REPEATABLE_READ
public static final Txn.Isolation SERIALIZABLE
public static Txn.Isolation[] values()
for (Txn.Isolation c : Txn.Isolation.values()) System.out.println(c);
public static Txn.Isolation 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 nullpublic int getLevel()
Copyright © 2014. All Rights Reserved.