Package io.vertx.reactivex.sqlclient
Class Transaction
- java.lang.Object
-
- io.vertx.reactivex.sqlclient.Transaction
-
public class Transaction extends Object
A transaction. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Transaction>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description Transaction(io.vertx.sqlclient.Transaction delegate)Transaction(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completedvoidcommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completedvoidcompletion()Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callbackvoidcompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callbackbooleanequals(Object o)io.vertx.sqlclient.TransactiongetDelegate()inthashCode()static TransactionnewInstance(io.vertx.sqlclient.Transaction arg)voidrollback()Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completedvoidrollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completedio.reactivex.CompletablerxCommit()Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completedio.reactivex.CompletablerxCompletion()Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callbackio.reactivex.CompletablerxRollback()Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completedStringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<Transaction> __TYPE_ARG
-
-
Constructor Detail
-
Transaction
public Transaction(io.vertx.sqlclient.Transaction delegate)
-
Transaction
public Transaction(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.sqlclient.Transaction getDelegate()
-
commit
public void commit(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completed- Parameters:
handler-
-
commit
public void commit()
Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completed
-
rxCommit
public io.reactivex.Completable rxCommit()
Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction commit has completed- Returns:
-
rollback
public void rollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completed- Parameters:
handler-
-
rollback
public void rollback()
Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completed
-
rxRollback
public io.reactivex.Completable rxRollback()
Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)with an handler to be notified when the transaction rollback has completed- Returns:
-
completion
public void completion(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callback- Parameters:
handler-
-
completion
public void completion()
Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callback
-
rxCompletion
public io.reactivex.Completable rxCompletion()
Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with a callback- Returns:
-
newInstance
public static Transaction newInstance(io.vertx.sqlclient.Transaction arg)
-
-