public class Transaction extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Transaction> |
__TYPE_ARG |
Constructor and Description |
---|
Transaction(Object delegate) |
Transaction(io.vertx.sqlclient.Transaction delegate) |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Like
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction commit has completed |
void |
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction commit has completed |
void |
completion()
Like
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but with a callback |
void |
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but with a callback |
boolean |
equals(Object o) |
io.vertx.sqlclient.Transaction |
getDelegate() |
int |
hashCode() |
static Transaction |
newInstance(io.vertx.sqlclient.Transaction arg) |
void |
rollback()
Like
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction rollback has completed |
void |
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Like
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction rollback has completed |
rx.Single<Void> |
rxCommit()
Like
commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction commit has completed |
rx.Single<Void> |
rxCompletion()
Like
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but with a callback |
rx.Single<Void> |
rxRollback()
Like
rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) with an handler to be notified when the transaction rollback has completed |
String |
toString() |
public static final TypeArg<Transaction> __TYPE_ARG
public Transaction(io.vertx.sqlclient.Transaction delegate)
public Transaction(Object delegate)
public io.vertx.sqlclient.Transaction getDelegate()
public void commit(io.vertx.core.Handler<io.vertx.core.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 rx.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(io.vertx.core.Handler<io.vertx.core.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 rx.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(io.vertx.core.Handler<io.vertx.core.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 rx.Single<Void> rxCompletion()
completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackpublic static Transaction newInstance(io.vertx.sqlclient.Transaction arg)
Copyright © 2021 Eclipse. All rights reserved.