public static enum BatchProperties.Isolation extends Enum<BatchProperties.Isolation>
Enum Constant and Description |
---|
DEFAULT
Use the default isolation level of the underlying datastore.
|
READ_COMMITTED
Indicates that dirty reads are prevented; non-repeatable reads and phantom
reads can occur.
|
READ_UNCOMMITTED
Indicates that dirty reads, non-repeatable reads and phantom reads can occur.
|
REPEATABLE_READ
Indicates that dirty reads and non-repeatable reads are prevented; phantom
reads can occur.
|
SERIALIZABLE
Indicate that dirty reads, non-repeatable reads and phantom reads are
prevented.
|
Modifier and Type | Method and Description |
---|---|
static BatchProperties.Isolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchProperties.Isolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchProperties.Isolation DEFAULT
public static final BatchProperties.Isolation READ_UNCOMMITTED
public static final BatchProperties.Isolation READ_COMMITTED
public static final BatchProperties.Isolation REPEATABLE_READ
public static final BatchProperties.Isolation SERIALIZABLE
public static BatchProperties.Isolation[] values()
for (BatchProperties.Isolation c : BatchProperties.Isolation.values()) System.out.println(c);
public static BatchProperties.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 null