Class PerTransactionConfig
A class representing a config applied to a single transaction.
Inherited Members
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class 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; set; }
Property Value
Type | Description |
---|---|
Durability |
KeyValueTimeout
Gets an option value indicating the timeout on Couchbase Key/Value operations for this transaction.
Declaration
public TimeSpan? KeyValueTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
MetadataCollection
Set the collection where the transaction metadata will be located. This adds the collection to the list of collections to be periodically cleaned of this metadata when no longer needed. Otherwise, the metadata goes in the collection associated with the first document which is modified or added in the transaction.
Declaration
public Keyspace MetadataCollection { get; set; }
Property Value
Type | Description |
---|---|
Keyspace |
ScanConsistency
The scan consistency to use for query operations (default: RequestPlus)
Declaration
public QueryScanConsistency? ScanConsistency { get; set; }
Property Value
Type | Description |
---|---|
Query |
Timeout
Gets an optional value indicating the relative expiration time of the transaction for this transaction.
Declaration
public TimeSpan? Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |