| Package | Description |
|---|---|
| com.couchbase.client.core.transaction.config | |
| com.couchbase.client.core.transaction.util |
| Modifier and Type | Method and Description |
|---|---|
TransactionAttemptContextFactory |
CoreMergedTransactionConfig.attemptContextFactory() |
TransactionAttemptContextFactory |
CoreTransactionsConfig.attemptContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Optional<TransactionAttemptContextFactory> |
CoreTransactionOptions.attemptContextFactory() |
Optional<TransactionAttemptContextFactory> |
CoreSingleQueryTransactionOptions.attemptContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static CoreTransactionsConfig |
CoreTransactionsConfig.createForSingleQueryTransactions(DurabilityLevel durabilityLevel,
Duration timeout,
TransactionAttemptContextFactory transactionAttemptContextFactory,
Optional<CollectionIdentifier> metadataCollection) |
| Constructor and Description |
|---|
CoreTransactionsConfig(DurabilityLevel durabilityLevel,
Duration timeout,
CoreTransactionsCleanupConfig cleanupConfig,
TransactionAttemptContextFactory attemptContextFactory,
CleanerFactory cleanerFactory,
ClientRecordFactory clientRecordFactory,
int numAtrs,
Optional<CollectionIdentifier> metadataCollection,
Optional<String> scanConsistency) |
| Constructor and Description |
|---|
CoreSingleQueryTransactionOptions(Optional<DurabilityLevel> durabilityLevel,
Optional<TransactionAttemptContextFactory> attemptContextFactory,
Optional<CollectionIdentifier> metadataCollection) |
CoreTransactionOptions(Optional<DurabilityLevel> durabilityLevel,
Optional<String> scanConsistency,
Optional<RequestSpan> parentSpan,
Optional<Duration> timeout,
Optional<CollectionIdentifier> metadataCollection,
Optional<TransactionAttemptContextFactory> attemptContextFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
TestTransactionAttemptContextFactory
Can be used for testing transactions, but is for internal use only.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.