Uses of Enum Class
com.pyranid.TransactionIsolation
-
Uses of TransactionIsolation in com.pyranid
Methods in com.pyranid that return TransactionIsolationModifier and TypeMethodDescriptionTransaction.getTransactionIsolation()
Get the isolation level for this transaction.static TransactionIsolation
Returns the enum constant of this class with the specified name.static TransactionIsolation[]
TransactionIsolation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.pyranid with parameters of type TransactionIsolationModifier and TypeMethodDescription<T> Optional
<T> Database.transaction
(TransactionIsolation transactionIsolation, ReturningTransactionalOperation<T> transactionalOperation) Performs an operation transactionally with the given isolation level, optionally returning a value.void
Database.transaction
(TransactionIsolation transactionIsolation, TransactionalOperation transactionalOperation) Performs an operation transactionally with the given isolation level.