Package de.espirit.or
Enum Class Layer.TransactionIsolationLevel
- All Implemented Interfaces:
Serializable
,Comparable<Layer.TransactionIsolationLevel>
,Constable
- Enclosing interface:
- Layer
Isolation level, see
Connection.setTransactionIsolation(int)
.- Since:
- 5.1.309
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIsolation level, seeConnection.TRANSACTION_READ_COMMITTED
.Isolation level, seeConnection.TRANSACTION_REPEATABLE_READ
.Isolation level, seeConnection.TRANSACTION_SERIALIZABLE
. -
Method Summary
Modifier and TypeMethodDescriptionint
Isolation level which could be passed toConnection.setTransactionIsolation(int)
.Returns the enum constant of this class with the specified name.static Layer.TransactionIsolationLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_COMMITTED
Isolation level, seeConnection.TRANSACTION_READ_COMMITTED
.- Since:
- 5.1.309
-
REPEATABLE_READ
Isolation level, seeConnection.TRANSACTION_REPEATABLE_READ
.- Since:
- 5.1.309
-
SERIALIZABLE
Isolation level, seeConnection.TRANSACTION_SERIALIZABLE
.- Since:
- 5.1.309
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getConnectionConstant
public int getConnectionConstant()Isolation level which could be passed toConnection.setTransactionIsolation(int)
.- Since:
- 5.1.309
-