Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class PerTransactionConfig

A class representing a config applied to a single transaction.

Inheritance
object
PerTransactionConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class PerTransactionConfig

Properties

View Source

DurabilityLevel

Gets an optional value indicating the minimum durability level desired for this transaction.

Declaration
public DurabilityLevel? DurabilityLevel { get; set; }
Property Value
Type Description
DurabilityLevel?
View Source

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
TimeSpan?
View Source

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
View Source

ScanConsistency

The scan consistency to use for query operations (default: RequestPlus)

Declaration
public QueryScanConsistency? ScanConsistency { get; set; }
Property Value
Type Description
QueryScanConsistency?
View Source

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
TimeSpan?
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.