Class CoreTransactionOptions
java.lang.Object
com.couchbase.client.core.transaction.config.CoreTransactionOptions
Tunables for an individual transaction.
-
Constructor Summary
ConstructorDescriptionCoreTransactionOptions
(Optional<DurabilityLevel> durabilityLevel, Optional<String> scanConsistency, Optional<RequestSpan> parentSpan, Optional<Duration> timeout, Optional<CollectionIdentifier> metadataCollection, Optional<TransactionAttemptContextFactory> attemptContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic CoreTransactionOptions
create
(RequestSpan parentSpan) timeout()
-
Constructor Details
-
CoreTransactionOptions
public CoreTransactionOptions(Optional<DurabilityLevel> durabilityLevel, Optional<String> scanConsistency, Optional<RequestSpan> parentSpan, Optional<Duration> timeout, Optional<CollectionIdentifier> metadataCollection, Optional<TransactionAttemptContextFactory> attemptContextFactory)
-
-
Method Details
-
create
-
durabilityLevel
-
scanConsistency
-
parentSpan
-
timeout
-
attemptContextFactory
-
metadataCollection
-