Uses of Class
com.couchbase.client.java.transactions.TransactionResult
-
Uses of TransactionResult in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionTransactions.run
(Consumer<TransactionAttemptContext> transactionLogic) Runs supplied transactional logic until success or failure.Transactions.run
(Consumer<TransactionAttemptContext> transactionLogic, TransactionOptions options) Runs supplied transactional logic until success or failure.Modifier and TypeMethodDescriptionReactiveTransactions.run
(Function<ReactiveTransactionAttemptContext, Mono<?>> transactionLogic) Convenience overload that runsReactiveTransactions.run(java.util.function.Function<com.couchbase.client.java.transactions.ReactiveTransactionAttemptContext, reactor.core.publisher.Mono<?>>, com.couchbase.client.java.transactions.config.TransactionOptions)
with a defaultPerTransactionConfig
.ReactiveTransactions.run
(Function<ReactiveTransactionAttemptContext, Mono<?>> transactionLogic, TransactionOptions options) Runs the supplied transactional logic until success or failure.