Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class TransactionsConfig

The configuration to use for each transaction against a given cluster.

Inheritance
object
TransactionsConfig
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 TransactionsConfig

Fields

View Source

DefaultDurabilityLevel

The default durability level.

Declaration
public const DurabilityLevel DefaultDurabilityLevel = Majority
Field Value
Type Description
DurabilityLevel
See Also
DurabilityLevel
View Source

DefaultExpirationMilliseconds

The default expiration, in milliseconds.

Declaration
public const int DefaultExpirationMilliseconds = 15000
Field Value
Type Description
int
See Also
ExpirationTime
View Source

DefaultLogOnFailure

The default log level for failures.

Declaration
public const Severity DefaultLogOnFailure = Error
Field Value
Type Description
Severity

Properties

View Source

CleanupConfig

Gets the TransactionCleanupConfig which is used to configure the cleanup.

Declaration
public TransactionCleanupConfig CleanupConfig { get; }
Property Value
Type Description
TransactionCleanupConfig
View Source

DurabilityLevel

Gets a value for the minimum durability level to use for modification operations.

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

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

KeyValueTimeout

Gets a value indicating the timeout on Couchbase Key/Value operations.

Declaration
public TimeSpan? KeyValueTimeout { get; }
Property Value
Type Description
TimeSpan?
View Source

LoggerFactory

Gets a ILoggerFactory that transactions will use for internal logging.

Declaration
public ILoggerFactory? LoggerFactory { get; }
Property Value
Type Description
ILoggerFactory
View Source

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

ScanConsistency

Gets the QueryScanConsistency to use for transaction query operations.

Declaration
public QueryScanConsistency? ScanConsistency { get; }
Property Value
Type Description
QueryScanConsistency?
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.