Uses of Class
com.couchbase.client.java.transactions.config.TransactionsConfig.Builder
Package
Description
Holds classes related to the environment and its configuration.
-
Uses of TransactionsConfig.Builder in com.couchbase.client.java.env
Modifier and TypeMethodDescriptionClusterEnvironment.Builder.transactionsConfig
(TransactionsConfig.Builder transactionsConfig) Deprecated.This method clobbers any previously configured values.Modifier and TypeMethodDescriptionClusterEnvironment.Builder.transactionsConfig
(Consumer<TransactionsConfig.Builder> builderConsumer) Passes theTransactionsConfig.Builder
to the provided consumer. -
Uses of TransactionsConfig.Builder in com.couchbase.client.java.transactions.config
Modifier and TypeMethodDescriptionstatic TransactionsConfig.Builder
TransactionsConfig.builder()
TransactionsConfig.Builder.cleanupConfig
(TransactionsCleanupConfig.Builder config) Deprecated.This method clobbers any previously configured values.TransactionsConfig.Builder.cleanupConfig
(Consumer<TransactionsCleanupConfig.Builder> builderConsumer) Passes theTransactionsCleanupConfig.Builder
to the provided consumer.static TransactionsConfig.Builder
TransactionsConfig.cleanupConfig
(TransactionsCleanupConfig.Builder config) Deprecated.Instead of creating a new builder, please useClusterEnvironment.Builder.transactionsConfig(Consumer)
and configure the builder passed to the consumer.TransactionsConfig.Builder.durabilityLevel
(DurabilityLevel level) All transaction writes will be performed with this durability setting.static TransactionsConfig.Builder
TransactionsConfig.durabilityLevel
(DurabilityLevel level) Deprecated.Instead of creating a new builder, please useClusterEnvironment.Builder.transactionsConfig(Consumer)
and configure the builder passed to the consumer.TransactionsConfig.Builder.metadataCollection
(TransactionKeyspace collection) Allows setting a custom collection to use for any transactional metadata documents.static TransactionsConfig.Builder
TransactionsConfig.metadataCollection
(TransactionKeyspace collection) Deprecated.Instead of creating a new builder, please useClusterEnvironment.Builder.transactionsConfig(Consumer)
and configure the builder passed to the consumer.TransactionsConfig.Builder.queryConfig
(TransactionsQueryConfig.Builder queryConfig) Deprecated.This method clobbers any previously configured values.TransactionsConfig.Builder.queryConfig
(Consumer<TransactionsQueryConfig.Builder> builderConsumer) Passes theTransactionsQueryConfig.Builder
to the provided consumer.static TransactionsConfig.Builder
TransactionsConfig.queryConfig
(TransactionsQueryConfig.Builder queryConfig) Deprecated.Instead of creating a new builder, please usequeryConfig(Consumer)
and configure the builder passed to the consumer.Sets the maximum time that transactions can run for.static TransactionsConfig.Builder
Deprecated.Instead of creating a new builder, please useClusterEnvironment.Builder.transactionsConfig(Consumer)
and configure the builder passed to the consumer.