Enum BatchProperties.Isolation
java.lang.Object
java.lang.Enum<BatchProperties.Isolation>
org.springframework.boot.autoconfigure.batch.BatchProperties.Isolation
- All Implemented Interfaces:
Serializable
,Comparable<BatchProperties.Isolation>
,Constable
- Enclosing class:
- BatchProperties
Available transaction isolation levels.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse the default isolation level of the underlying datastore.Indicates that dirty reads are prevented; non-repeatable reads and phantom reads can occur.Indicates that dirty reads, non-repeatable reads and phantom reads can occur.Indicates that dirty reads and non-repeatable reads are prevented; phantom reads can occur.Indicate that dirty reads, non-repeatable reads and phantom reads are prevented. -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchProperties.Isolation
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.
-
Enum Constant Details
-
DEFAULT
Use the default isolation level of the underlying datastore. -
READ_UNCOMMITTED
Indicates that dirty reads, non-repeatable reads and phantom reads can occur. -
READ_COMMITTED
Indicates that dirty reads are prevented; 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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-