Class TransactionConfig
The configuration to use for each transaction against a given cluster.
Inheritance
TransactionConfig
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Volatile)]
public record TransactionConfig : IEquatable<TransactionConfig>
Constructors
|
Edit this page
View Source
TransactionConfig(DurabilityLevel, TimeSpan?, QueryScanConsistency?, KeySpace?, TransactionCleanupConfig?, ILoggerFactory?)
The configuration to use for each transaction against a given cluster.
Declaration
public TransactionConfig(DurabilityLevel DurabilityLevel = DurabilityLevel.Majority, TimeSpan? Timeout = null, QueryScanConsistency? ScanConsistency = null, KeySpace? MetadataCollection = null, TransactionCleanupConfig? CleanupConfig = null, ILoggerFactory? LoggerFactory = null)
Parameters
Fields
|
Edit this page
View Source
DefaultCleanupClientAttempts
Declaration
public const bool DefaultCleanupClientAttempts = true
Field Value
|
Edit this page
View Source
DefaultCleanupLostAttempts
Declaration
public const bool DefaultCleanupLostAttempts = true
Field Value
|
Edit this page
View Source
DefaultCleanupWindow
Declaration
public static readonly TimeSpan DefaultCleanupWindow
Field Value
|
Edit this page
View Source
DefaultCleanupWindowMilliseconds
The default cleanup window, in milliseconds.
Declaration
public const int DefaultCleanupWindowMilliseconds = 60000
Field Value
See Also
|
Edit this page
View Source
DefaultDurabilityLevel
The default durability level.
Declaration
public const DurabilityLevel DefaultDurabilityLevel = Majority
Field Value
See Also
|
Edit this page
View Source
DefaultLogOnFailure
The default log level for failures.
Declaration
public const Severity DefaultLogOnFailure = Error
Field Value
|
Edit this page
View Source
DefaultTimeout
Declaration
public static readonly TimeSpan DefaultTimeout
Field Value
|
Edit this page
View Source
DefaultTimeoutMilliseconds
The default expiration, in milliseconds.
Declaration
public const int DefaultTimeoutMilliseconds = 15000
Field Value
See Also
Properties
|
Edit this page
View Source
CleanupConfig
Declaration
public TransactionCleanupConfig? CleanupConfig { get; init; }
Property Value
|
Edit this page
View Source
DurabilityLevel
Declaration
public DurabilityLevel DurabilityLevel { get; init; }
Property Value
|
Edit this page
View Source
LoggerFactory
Declaration
public ILoggerFactory? LoggerFactory { get; init; }
Property Value
|
Edit this page
View Source
Declaration
public KeySpace? MetadataCollection { get; init; }
Property Value
|
Edit this page
View Source
ScanConsistency
Declaration
public QueryScanConsistency? ScanConsistency { get; init; }
Property Value
|
Edit this page
View Source
Timeout
Declaration
public TimeSpan? Timeout { get; init; }
Property Value
Implements