Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Transaction> |
__TYPE_ARG |
Constructor and Description |
---|
Transaction(Object delegate) |
Transaction(Transaction delegate) |
public static final io.vertx.lang.rx.TypeArg<Transaction> __TYPE_ARG
public Transaction(Transaction delegate)
public Transaction(Object delegate)
public Transaction getDelegate()
public void commit(Handler<AsyncResult<Void>> handler)
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction commit has completedhandler
- public void commit()
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction commit has completedpublic Single<Void> rxCommit()
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction commit has completedpublic void rollback(Handler<AsyncResult<Void>> handler)
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction rollback has completedhandler
- public void rollback()
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction rollback has completedpublic Single<Void> rxRollback()
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction rollback has completedpublic void completion(Handler<AsyncResult<Void>> handler)
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackhandler
- public void completion()
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackpublic Single<Void> rxCompletion()
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackpublic static Transaction newInstance(Transaction arg)
Copyright © 2024 Eclipse. All rights reserved.