public static enum DatabaseOptions.TransactionIsolation extends Enum<DatabaseOptions.TransactionIsolation>
| Enum Constant and Description |
|---|
SERIALIZABLE
Serializable transactions provides highest level of isolation between transactions by acquiring an exclusive lock at the
beginning of a transaction.
|
SNAPSHOT
Snapsot isolation is when each transaction reads from a snapshot of the database when the transaction started.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseOptions.TransactionIsolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseOptions.TransactionIsolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseOptions.TransactionIsolation SNAPSHOT
public static final DatabaseOptions.TransactionIsolation SERIALIZABLE
public static DatabaseOptions.TransactionIsolation[] values()
for (DatabaseOptions.TransactionIsolation c : DatabaseOptions.TransactionIsolation.values()) System.out.println(c);
public static DatabaseOptions.TransactionIsolation 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 © 2010-2016 Stardog Union. All Rights Reserved.