Package | Description |
---|---|
com.couchbase.client.java.transactions.config |
Modifier and Type | Method and Description |
---|---|
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.addCollection(TransactionKeyspace collection)
Adds a collection to the set of metadata collections that will be cleaned up automatically.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.addCollection(TransactionKeyspace collection)
Adds a collection to the set of metadata collections that will be cleaned up automatically.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.addCollections(Collection<TransactionKeyspace> collections)
Adds collections to the set of metadata collections that will be cleaned up automatically.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.addCollections(Collection<TransactionKeyspace> collections)
Adds collections to the set of metadata collections that will be cleaned up automatically.
|
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.builder() |
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.cleanupClientAttempts(boolean cleanupClientAttempts)
Controls where a background thread is created to cleanup any transaction attempts made by this client.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.cleanupClientAttempts(boolean cleanupClientAttempts)
Controls where a background thread is created to cleanup any transaction attempts made by this client.
|
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.cleanupLostAttempts(boolean cleanupLostAttempts)
Controls where a background process is created to cleanup any 'lost' transaction attempts.
|
TransactionsCleanupConfig.Builder |
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.
|
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.cleanupWindow(Duration cleanupWindow)
Part of the lost attempts background cleanup process.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.cleanupWindow(Duration cleanupWindow)
Part of the lost attempts background cleanup process.
|
Modifier and Type | Method and Description |
---|---|
static TransactionsConfig.Builder |
TransactionsConfig.cleanupConfig(TransactionsCleanupConfig.Builder config)
Configures transaction cleanup.
|
TransactionsConfig.Builder |
TransactionsConfig.Builder.cleanupConfig(TransactionsCleanupConfig.Builder config)
Configures transaction cleanup.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.