Class SingleQueryTransactionConfig
- java.lang.Object
-
- com.couchbase.transactions.config.SingleQueryTransactionConfig
-
public class SingleQueryTransactionConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SingleQueryTransactionConfig​(java.util.Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan, TransactionQueryOptions queryOptions, java.util.Optional<TransactionDurabilityLevel> durabilityLevel, java.util.Optional<java.time.Duration> expirationTime, java.util.Optional<AttemptContextFactory> attemptContextFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<AttemptContextFactory>
attemptContextFactory()
PerTransactionConfig
convert()
java.util.Optional<TransactionDurabilityLevel>
durabilityLevel()
java.util.Optional<java.time.Duration>
expirationTime()
java.util.Optional<com.couchbase.client.core.cnc.RequestSpan>
parentSpan()
TransactionQueryOptions
queryOptions()
-
-
-
Constructor Detail
-
SingleQueryTransactionConfig
public SingleQueryTransactionConfig​(java.util.Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan, TransactionQueryOptions queryOptions, java.util.Optional<TransactionDurabilityLevel> durabilityLevel, java.util.Optional<java.time.Duration> expirationTime, java.util.Optional<AttemptContextFactory> attemptContextFactory)
-
-
Method Detail
-
parentSpan
public java.util.Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan()
-
queryOptions
public TransactionQueryOptions queryOptions()
-
durabilityLevel
public java.util.Optional<TransactionDurabilityLevel> durabilityLevel()
-
expirationTime
public java.util.Optional<java.time.Duration> expirationTime()
-
attemptContextFactory
public java.util.Optional<AttemptContextFactory> attemptContextFactory()
-
convert
@Internal public PerTransactionConfig convert()
-
-