|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Isolation>
org.openrdf.store.Isolation
public enum Isolation
A Connection object's transaction isolation level.
| Enum Constant Summary | |
|---|---|
NONE
Indicates that transactions are not supported. |
|
READ_COMMITTED
In this isolation level only statements that have been committed (at some point) can be seen by the transaction. |
|
READ_UNCOMMITTED
Transactions are supported, but no isolation. |
|
REPEATABLE_READ
In addition to read committed, statements in this isolation level that are observed within a successful transaction will remain observable by the transaction until the end. |
|
SERIALIZABLE
In addition to snapshot, this isolation level requires that all other successful transactions must appear to occur either completely before or completely after a successful serializable transaction. |
|
SNAPSHOT
In addition to repeatable read, successful transactions in this isolation level will view a consistent snapshot. |
|
| Method Summary | |
|---|---|
static Isolation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Isolation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Isolation NONE
public static final Isolation READ_UNCOMMITTED
public static final Isolation READ_COMMITTED
public static final Isolation REPEATABLE_READ
public static final Isolation SNAPSHOT
public static final Isolation SERIALIZABLE
| Method Detail |
|---|
public static Isolation[] values()
for (Isolation c : Isolation.values()) System.out.println(c);
public static 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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||