Class TransactionsConfig
The configuration to use for each transaction against a given cluster.
Inherited Members
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionsConfig
Fields
| Edit this page View SourceDefaultDurabilityLevel
The default durability level.
Declaration
public const DurabilityLevel DefaultDurabilityLevel = Majority
Field Value
| Type | Description |
|---|---|
| DurabilityLevel |
See Also
| Edit this page View SourceDefaultExpirationMilliseconds
The default expiration, in milliseconds.
Declaration
public const int DefaultExpirationMilliseconds = 15000
Field Value
| Type | Description |
|---|---|
| int |
See Also
| Edit this page View SourceDefaultLogOnFailure
The default log level for failures.
Declaration
public const Severity DefaultLogOnFailure = Error
Field Value
| Type | Description |
|---|---|
| Severity |
Properties
| Edit this page View SourceCleanupConfig
Gets the TransactionCleanupConfig which is used to configure the cleanup.
Declaration
public TransactionCleanupConfig CleanupConfig { get; }
Property Value
| Type | Description |
|---|---|
| TransactionCleanupConfig |
DurabilityLevel
Gets a value for the minimum durability level to use for modification operations.
Declaration
public DurabilityLevel DurabilityLevel { get; }
Property Value
| Type | Description |
|---|---|
| DurabilityLevel |
ExpirationTime
Gets a value indicating the time before a transaction expires and no more attempts will be made.
Declaration
public TimeSpan ExpirationTime { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
KeyValueTimeout
Gets a value indicating the timeout on Couchbase Key/Value operations.
Declaration
public TimeSpan? KeyValueTimeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
LoggerFactory
Gets a ILoggerFactory that transactions will use for internal logging.
Declaration
public ILoggerFactory? LoggerFactory { get; }
Property Value
| Type | Description |
|---|---|
| ILoggerFactory |
MetadataCollection
Gets the Keyspace to use for Active Transaction Record metadata. If null, then we put the record in the collection of the first document that gets modified, removed or inserted in the transaction.
Declaration
public Keyspace? MetadataCollection { get; }
Property Value
| Type | Description |
|---|---|
| Keyspace |
ScanConsistency
Gets the QueryScanConsistency to use for transaction query operations.
Declaration
public QueryScanConsistency? ScanConsistency { get; }
Property Value
| Type | Description |
|---|---|
| QueryScanConsistency? |