Class MergedTransactionConfig
- java.lang.Object
-
- com.couchbase.transactions.config.MergedTransactionConfig
-
@Internal public class MergedTransactionConfig extends java.lang.Object
MergesPerTransactionConfigBuilder
andTransactionConfigBuilder
.
-
-
Constructor Summary
Constructors Constructor Description MergedTransactionConfig(TransactionConfig config)
MergedTransactionConfig(TransactionConfig config, java.util.Optional<PerTransactionConfig> perConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttemptContextFactory
attemptContextFactory()
CleanerFactory
cleanerFactory()
java.time.Duration
cleanupWindow()
ClientRecordFactory
clientRecordFactory()
static MergedTransactionConfig
createFromSingleQueryTransactionConfig(TransactionConfig config, java.util.Optional<SingleQueryTransactionConfig> perConfig)
com.couchbase.client.core.msg.kv.DurabilityLevel
durabilityLevel()
java.time.Duration
expirationTime()
java.util.Optional<java.time.Duration>
keyValueTimeout()
boolean
logDirectly()
java.util.Optional<com.couchbase.client.core.cnc.Event.Severity>
logDirectlyLevel()
boolean
logOnFailure()
com.couchbase.client.core.cnc.Event.Severity
logOnFailureLevel()
java.util.Optional<com.couchbase.client.java.Collection>
metadataCollection()
int
numAtrs()
java.util.Optional<com.couchbase.client.core.cnc.RequestSpan>
parentSpan()
java.util.Optional<com.couchbase.client.java.Collection>
persistentLoggingCollection()
boolean
runLostAttemptsCleanupThread()
boolean
runRegularAttemptsCleanupThread()
java.util.Optional<com.couchbase.client.java.query.QueryScanConsistency>
scanConsistency()
TransactionDurabilityLevel
transactionDurabilityLevel()
-
-
-
Constructor Detail
-
MergedTransactionConfig
public MergedTransactionConfig(TransactionConfig config)
-
MergedTransactionConfig
public MergedTransactionConfig(TransactionConfig config, java.util.Optional<PerTransactionConfig> perConfig)
-
-
Method Detail
-
createFromSingleQueryTransactionConfig
public static MergedTransactionConfig createFromSingleQueryTransactionConfig(TransactionConfig config, java.util.Optional<SingleQueryTransactionConfig> perConfig)
-
scanConsistency
public java.util.Optional<com.couchbase.client.java.query.QueryScanConsistency> scanConsistency()
-
parentSpan
public java.util.Optional<com.couchbase.client.core.cnc.RequestSpan> parentSpan()
-
expirationTime
public java.time.Duration expirationTime()
-
keyValueTimeout
public java.util.Optional<java.time.Duration> keyValueTimeout()
-
logDirectly
public boolean logDirectly()
-
logDirectlyLevel
public java.util.Optional<com.couchbase.client.core.cnc.Event.Severity> logDirectlyLevel()
-
runLostAttemptsCleanupThread
public boolean runLostAttemptsCleanupThread()
-
runRegularAttemptsCleanupThread
public boolean runRegularAttemptsCleanupThread()
-
cleanupWindow
public java.time.Duration cleanupWindow()
-
logOnFailure
public boolean logOnFailure()
-
logOnFailureLevel
public com.couchbase.client.core.cnc.Event.Severity logOnFailureLevel()
-
transactionDurabilityLevel
public TransactionDurabilityLevel transactionDurabilityLevel()
-
durabilityLevel
public com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevel()
-
attemptContextFactory
public AttemptContextFactory attemptContextFactory()
-
cleanerFactory
public CleanerFactory cleanerFactory()
-
clientRecordFactory
public ClientRecordFactory clientRecordFactory()
-
persistentLoggingCollection
public java.util.Optional<com.couchbase.client.java.Collection> persistentLoggingCollection()
-
numAtrs
public int numAtrs()
-
metadataCollection
public java.util.Optional<com.couchbase.client.java.Collection> metadataCollection()
-
-