Uses of Class
com.couchbase.client.java.transactions.config.TransactionsCleanupConfig.Builder
-
Uses of TransactionsCleanupConfig.Builder in com.couchbase.client.java.transactions.config
Modifier and TypeMethodDescriptionTransactionsCleanupConfig.addCollection
(TransactionKeyspace collection) Deprecated.TransactionsCleanupConfig.Builder.addCollection
(TransactionKeyspace collection) Adds a collection to the set of metadata collections that will be cleaned up automatically.TransactionsCleanupConfig.addCollections
(Collection<TransactionKeyspace> collections) Deprecated.Instead of creating a new builder, please useTransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.TransactionsCleanupConfig.Builder.addCollections
(Collection<TransactionKeyspace> collections) Adds collections to the set of metadata collections that will be cleaned up automatically.TransactionsCleanupConfig.builder()
Deprecated.Instead of creating a new builder, please useTransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.TransactionsCleanupConfig.Builder.cleanupClientAttempts
(boolean cleanupClientAttempts) Controls where a background thread is created to cleanup any transaction attempts made by this client.TransactionsCleanupConfig.cleanupClientAttempts
(boolean cleanupClientAttempts) Deprecated.Instead of creating a new builder, please useTransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.TransactionsCleanupConfig.Builder.cleanupLostAttempts
(boolean cleanupLostAttempts) Controls where a background process is created to cleanup any 'lost' transaction attempts: that is, those for which the regular cleanup process has failed.TransactionsCleanupConfig.cleanupLostAttempts
(boolean cleanupLostAttempts) Deprecated.Instead of creating a new builder, please useTransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.TransactionsCleanupConfig.Builder.cleanupWindow
(Duration cleanupWindow) Part of the lost attempts background cleanup process.TransactionsCleanupConfig.cleanupWindow
(Duration cleanupWindow) Deprecated.Instead of creating a new builder, please useTransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.Modifier and TypeMethodDescriptionTransactionsConfig.Builder.cleanupConfig
(TransactionsCleanupConfig.Builder config) Deprecated.This method clobbers any previously configured values.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.Modifier and TypeMethodDescriptionTransactionsConfig.Builder.cleanupConfig
(Consumer<TransactionsCleanupConfig.Builder> builderConsumer) Passes theTransactionsCleanupConfig.Builder
to the provided consumer.
TransactionsConfig.Builder.cleanupConfig(Consumer)
and configure the builder passed to the consumer.