public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
Enum Constant and Description |
---|
TRANSACTION_NONE |
TRANSACTION_READ_COMMITTED |
TRANSACTION_READ_UNCOMMITTED |
TRANSACTION_REPEATABLE_READ |
TRANSACTION_SERIALIZABLE |
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,TransactionIsolationLevel> |
MAP |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static int |
intValueOf(String name) |
static String |
nameOf(int level) |
static TransactionIsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIsolationLevel TRANSACTION_NONE
public static final TransactionIsolationLevel TRANSACTION_READ_UNCOMMITTED
public static final TransactionIsolationLevel TRANSACTION_READ_COMMITTED
public static final TransactionIsolationLevel TRANSACTION_REPEATABLE_READ
public static final TransactionIsolationLevel TRANSACTION_SERIALIZABLE
protected static final Map<Integer,TransactionIsolationLevel> MAP
public static TransactionIsolationLevel[] values()
for (TransactionIsolationLevel c : TransactionIsolationLevel.values()) System.out.println(c);
public static TransactionIsolationLevel 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 static int intValueOf(String name)
public static String nameOf(int level)
public int getValue()
Apache Camel