Uses of Class
com.couchbase.client.java.transactions.config.TransactionOptions
Package
Description
-
Uses of TransactionOptions in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionReactiveTransactions.run
(Function<ReactiveTransactionAttemptContext, Mono<?>> transactionLogic, TransactionOptions options) Runs the supplied transactional logic until success or failure.Transactions.run
(Consumer<TransactionAttemptContext> transactionLogic, TransactionOptions options) Runs supplied transactional logic until success or failure. -
Uses of TransactionOptions in com.couchbase.client.java.transactions.config
Modifier and TypeMethodDescriptionTransactionOptions.durabilityLevel
(DurabilityLevel durabilityLevel) Overrides the default durability set, for this transaction.TransactionOptions.metadataCollection
(Collection collection) Allows setting a custom collection to use for any transactional metadata documents created by this transaction.TransactionOptions.parentSpan
(RequestSpan parentSpan) Specifies the RequestSpan that's a parent for this transaction.Overrides the default timeout set, for this transaction.static TransactionOptions
TransactionOptions.transactionOptions()
Returns a newTransactionOptions.Builder
, which can be used to build up and create aCoreTransactionOptions
.