Package io.vertx.rxjava.sqlclient
Class Transaction
- java.lang.Object
-
- io.vertx.rxjava.sqlclient.Transaction
-
public class Transaction extends Object
A transaction. NOTE: This class has been automatically generated from theoriginal
non 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 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 completedvoid
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 completedvoid
completion()
Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackvoid
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 callbackboolean
equals(Object o)
io.vertx.sqlclient.Transaction
getDelegate()
int
hashCode()
static Transaction
newInstance(io.vertx.sqlclient.Transaction arg)
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 completedvoid
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 completedrx.Single<Void>
rxCommit()
Likecommit(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction commit has completedrx.Single<Void>
rxCompletion()
Likecompletion(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
but with a callbackrx.Single<Void>
rxRollback()
Likerollback(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)
with an handler to be notified when the transaction rollback has completedString
toString()
-
-
-
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 rx.Single<Void> 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 rx.Single<Void> 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 rx.Single<Void> 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)
-
-