| Modifier and Type | Method and Description |
|---|---|
<T> void |
DatabaseProviderVertx.transactAsync(DbCodeTyped<T> code,
io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> resultHandler)
Execute a transaction on a Vert.x worker thread, with default semantics (commit if
the code completes successfully, or rollback if it throws an error).
|
<T> void |
DatabaseProviderVertx.Builder.transactAsync(DbCodeTyped<T> code,
io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> resultHandler) |
<T> T |
DatabaseProvider.transactReturning(DbCodeTyped<T> code) |
<T> T |
DatabaseProvider.Builder.transactReturning(DbCodeTyped<T> code)
This method is the same as
DatabaseProvider.Builder.transact(DbCode) but allows a return value. |
<T> T |
DatabaseProviderVertx.transactReturning(DbCodeTyped<T> code) |
<T> T |
DatabaseProviderVertx.Builder.transactReturning(DbCodeTyped<T> code)
This method is the same as
DatabaseProviderVertx.Builder.transact(DbCode) but allows a return value. |
Copyright © 2020. All rights reserved.