Class Transaction


  • public class Transaction
    extends Object
    A transaction.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<Transaction> __TYPE_ARG
    • Constructor Detail

      • Transaction

        public Transaction​(Transaction delegate)
      • Transaction

        public Transaction​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • commit

        public Completable commit()
        Commit the current transaction.
        Returns:
      • rxCommit

        public Completable rxCommit()
        Commit the current transaction.
        Returns:
      • rollback

        public Completable rollback()
        Rollback the transaction and release the associated resources.
        Returns:
      • rxRollback

        public Completable rxRollback()
        Rollback the transaction and release the associated resources.
        Returns:
      • completion

        public Completable completion()
        Return the transaction completion Future that succeeds when the transaction commits and fails with TransactionRollbackException when the transaction rolls back.
        Returns:
        the transaction result
      • rxCompletion

        public Completable rxCompletion()
        Return the transaction completion Future that succeeds when the transaction commits and fails with TransactionRollbackException when the transaction rolls back.
        Returns:
        the transaction result