Packages

case class TransactionOptions extends Product with Serializable

Provides all configurable parameters for a single Couchbase transaction.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionOptions
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def durabilityLevel(durabilityLevel: DurabilityLevel): TransactionOptions

    Overrides the default durability set, for this transaction.

    Overrides the default durability set, for this transaction. The level will be used for all operations inside the transaction.

    durabilityLevel

    the durability level to set

    returns

    this, for chaining

  2. def metadataCollection(collection: Collection): TransactionOptions

    Allows setting a custom collection to use for any transactional metadata documents created by this transaction.

    Allows setting a custom collection to use for any transactional metadata documents created by this transaction.

    If not set, it will default to creating these documents in the default collection of the bucket that the first mutated document in the transaction is on.

  3. def parentSpan(parentSpan: RequestSpan): TransactionOptions

    Specifies the RequestSpan that's a parent for this transaction.

    Specifies the RequestSpan that's a parent for this transaction.

    RequestSpan is a Couchbase Java SDK abstraction over an underlying tracing implementation such as OpenTelemetry or OpenTracing.

    returns

    this, for chaining

  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. def timeout(timeout: Duration): TransactionOptions

    Overrides the default timeout set, for this transaction.

    Overrides the default timeout set, for this transaction.

    returns

    this, for chaining