Package | Description |
---|---|
io.vertx.reactivex.sqlclient | |
io.vertx.rxjava.sqlclient | |
io.vertx.rxjava3.sqlclient | |
io.vertx.sqlclient |
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> Future<T> |
Pool.withTransaction(TransactionPropagation txPropagation,
Function<SqlConnection,Maybe<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<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 |
---|---|
<T> Future<T> |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.rxjava.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<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 |
---|---|
<T> Future<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, Handler) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
Copyright © 2023 Eclipse. All rights reserved.