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

public static enum BatchProperties.Isolation extends Enum<BatchProperties.Isolation>
Available transaction isolation levels.
  • Enum Constant Details

    • DEFAULT

      public static final BatchProperties.Isolation DEFAULT
      Use the default isolation level of the underlying datastore.
    • READ_UNCOMMITTED

      public static final BatchProperties.Isolation READ_UNCOMMITTED
      Indicates that dirty reads, non-repeatable reads and phantom reads can occur.
    • READ_COMMITTED

      public static final BatchProperties.Isolation READ_COMMITTED
      Indicates that dirty reads are prevented; non-repeatable reads and phantom reads can occur.
    • REPEATABLE_READ

      public static final BatchProperties.Isolation REPEATABLE_READ
      Indicates that dirty reads and non-repeatable reads are prevented; phantom reads can occur.
    • SERIALIZABLE

      public static final BatchProperties.Isolation SERIALIZABLE
      Indicate that dirty reads, non-repeatable reads and phantom reads are prevented.
  • Method Details

    • values

      public static BatchProperties.Isolation[] 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

      public static BatchProperties.Isolation valueOf(String name)
      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 name
      NullPointerException - if the argument is null