public enum IsolationLevel extends Enum<IsolationLevel>
READ_COMMITTED and REPEATABLE_READ, upgrading where possible.
Also note that Infinispan defaults to READ_COMMITTED.
| Enum Constant and Description |
|---|
NONE
No isolation.
|
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
| Modifier and Type | Method and Description |
|---|---|
static IsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsolationLevel NONE
public static final IsolationLevel SERIALIZABLE
public static final IsolationLevel REPEATABLE_READ
public static final IsolationLevel READ_COMMITTED
public static final IsolationLevel READ_UNCOMMITTED
public static IsolationLevel[] values()
for (IsolationLevel c : IsolationLevel.values()) System.out.println(c);
public static IsolationLevel 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 nullCopyright © 2012 JBoss by Red Hat. All Rights Reserved.