Package | Description |
---|---|
com.speedment.runtime.core.component.transaction |
Classes related to transactions, such as
Transaction and
TransactionHandler are located in this package. |
Modifier and Type | Method and Description |
---|---|
static Isolation |
Isolation.fromSqlIsolationLevel(int level) |
Isolation |
TransactionHandler.getIsolation()
Returns the current isolation level used for new transactions.
|
static Isolation |
Isolation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Isolation[] |
Isolation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BiFunction<? super T,Isolation,Isolation> |
DataSourceHandler.isolationConfigurator()
Returns a BiFunction that, when applied, sets a new Isolation level and
then returns the previous Isolation level.
|
BiFunction<? super T,Isolation,Isolation> |
DataSourceHandler.isolationConfigurator()
Returns a BiFunction that, when applied, sets a new Isolation level and
then returns the previous Isolation level.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionHandler.setIsolation(Isolation level)
Sets the
Isolation level for subsequent transactions created by
this transaction handler. |
Modifier and Type | Method and Description |
---|---|
static <D,T> DataSourceHandler<D,T> |
DataSourceHandler.of(Function<D,T> extractor,
BiFunction<? super T,Isolation,Isolation> isolationConfigurator,
Consumer<? super T> beginner,
Consumer<? super T> committer,
Consumer<? super T> rollbacker,
Consumer<? super T> closer) |
static <D,T> DataSourceHandler<D,T> |
DataSourceHandler.of(Function<D,T> extractor,
BiFunction<? super T,Isolation,Isolation> isolationConfigurator,
Consumer<? super T> beginner,
Consumer<? super T> committer,
Consumer<? super T> rollbacker,
Consumer<? super T> closer) |
Copyright © 2019 Speedment, Inc.. All rights reserved.