Package | Description |
---|---|
io.vertx.reactivex.sqlclient | |
io.vertx.rxjava.sqlclient | |
io.vertx.rxjava3.sqlclient | |
io.vertx.sqlclient |
Modifier and Type | Method and Description |
---|---|
<T> Maybe<T> |
Pool.rxWithTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Maybe<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.rxjava3.sqlclient.SqlConnection, io.reactivex.rxjava3.core.Maybe<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> Maybe<T> |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Maybe<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.rxjava3.sqlclient.SqlConnection, io.reactivex.rxjava3.core.Maybe<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
Modifier and Type | Method and Description |
---|---|
static TransactionPropagation |
TransactionPropagation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionPropagation[] |
TransactionPropagation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default <T> Future<T> |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function)
Like
Pool.withTransaction(Function) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
default <T> void |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function,
Handler<AsyncResult<T>> handler)
Like
Pool.withTransaction(Function, Handler) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
Copyright © 2024 Eclipse. All rights reserved.