Interface TransactionsConfig

Specifies the configuration options for Transactions.

interface TransactionsConfig {
    cleanupConfig?: TransactionsCleanupConfig;
    durabilityLevel?: DurabilityLevel;
    kvTimeout?: number;
    metadataCollection?: TransactionKeyspace;
    queryConfig?: TransactionsQueryConfig;
    timeout?: number;
}

Properties

Specifies the configuration for the cleanup system.

durabilityLevel?: DurabilityLevel

Specifies the level of synchronous durability level.

kvTimeout?: number

Specifies the default timeout for KV operations, specified in millseconds.

Deprecated

Currently a no-op. CXXCBC-391: Adds support for ExtSDKIntegration which uses KV durable timeout internally.

metadataCollection?: TransactionKeyspace

Specifies the Keyspace (bucket, scope & collection) for the transaction metadata.

Specifies the configuration for queries.

timeout?: number

Specifies the default timeout for transactions.