Class PerTransactionConfig
A record representing a config applied to a single transaction.
Implements
Inherited Members
Namespace: Couchbase.Integrated.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Volatile)]
public record PerTransactionConfig : IEquatable<PerTransactionConfig>
Properties
| Edit this page View SourceDurabilityLevel
Gets an optional value indicating the minimum durability level desired for this transaction.
Declaration
public DurabilityLevel? DurabilityLevel { get; init; }
Property Value
Type | Description |
---|---|
DurabilityLevel? |
KeyValueTimeout
Gets an option value indicating the timeout on Couchbase Key/Value operations for this transaction.
Declaration
public TimeSpan? KeyValueTimeout { get; init; }
Property Value
Type | Description |
---|---|
TimeSpan? |
ScanConsistency
The scan consistency to use for query operations (default: RequestPlus)
Declaration
public QueryScanConsistency? ScanConsistency { get; init; }
Property Value
Type | Description |
---|---|
QueryScanConsistency? |
Timeout
Gets an optional value indicating the relative expiration time of the transaction for this transaction.
Declaration
public TimeSpan? Timeout { get; init; }
Property Value
Type | Description |
---|---|
TimeSpan? |