Class CoreTransactionsConfig
java.lang.Object
com.couchbase.client.core.transaction.config.CoreTransactionsConfig
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCoreTransactionsConfig
(DurabilityLevel durabilityLevel, Duration timeout, CoreTransactionsCleanupConfig cleanupConfig, TransactionAttemptContextFactory attemptContextFactory, CleanerFactory cleanerFactory, ClientRecordFactory clientRecordFactory, int numAtrs, Optional<CollectionIdentifier> metadataCollection, Optional<String> scanConsistency, CoreTransactionsSupportedExtensions supported) -
Method Summary
Modifier and TypeMethodDescriptionstatic CoreTransactionsConfig
createDefault
(CoreTransactionsSupportedExtensions supported) static CoreTransactionsConfig
createForSingleQueryTransactions
(DurabilityLevel durabilityLevel, Duration timeout, TransactionAttemptContextFactory transactionAttemptContextFactory, Optional<CollectionIdentifier> metadataCollection, CoreTransactionsSupportedExtensions supported) int
numAtrs()
-
Field Details
-
DEFAULT_TRANSACTION_TIMEOUT
-
DEFAULT_TRANSACTION_DURABILITY_LEVEL
-
-
Constructor Details
-
CoreTransactionsConfig
public CoreTransactionsConfig(DurabilityLevel durabilityLevel, Duration timeout, CoreTransactionsCleanupConfig cleanupConfig, @Nullable TransactionAttemptContextFactory attemptContextFactory, @Nullable CleanerFactory cleanerFactory, @Nullable ClientRecordFactory clientRecordFactory, int numAtrs, Optional<CollectionIdentifier> metadataCollection, Optional<String> scanConsistency, CoreTransactionsSupportedExtensions supported)
-
-
Method Details
-
createDefault
@Internal public static CoreTransactionsConfig createDefault(CoreTransactionsSupportedExtensions supported) -
createForSingleQueryTransactions
public static CoreTransactionsConfig createForSingleQueryTransactions(DurabilityLevel durabilityLevel, Duration timeout, TransactionAttemptContextFactory transactionAttemptContextFactory, Optional<CollectionIdentifier> metadataCollection, CoreTransactionsSupportedExtensions supported) -
cleanupConfig
-
transactionExpirationTime
-
durabilityLevel
-
attemptContextFactory
-
cleanerFactory
-
clientRecordFactory
-
numAtrs
public int numAtrs() -
metadataCollection
-
scanConsistency
-
supported
-
exportAsMap
-