Class TransactionConfig
The configuration to use for each transaction against a given cluster.
Inheritance
System.Object
TransactionConfig
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionConfig : object, IEquatable<TransactionConfig>
Constructors
|
Improve this Doc
View Source
TransactionConfig(DurabilityLevel, Nullable<TimeSpan>, Nullable<TimeSpan>, Boolean, Boolean, Nullable<QueryScanConsistency>, KeySpace, Nullable<ILoggerFactory>)
The configuration to use for each transaction against a given cluster.
Declaration
public TransactionConfig(DurabilityLevel DurabilityLevel = default(DurabilityLevel), TimeSpan? ExpirationTime = null, TimeSpan? CleanupWindow = null, bool CleanupClientAttempts = true, bool CleanupLostAttempts = true, QueryScanConsistency? ScanConsistency = null, KeySpace MetadataCollection = null, ILoggerFactory? LoggerFactory = null)
Parameters
Type |
Name |
Description |
DurabilityLevel |
DurabilityLevel |
|
System.Nullable<TimeSpan> |
ExpirationTime |
|
System.Nullable<TimeSpan> |
CleanupWindow |
|
System.Boolean |
CleanupClientAttempts |
|
System.Boolean |
CleanupLostAttempts |
|
System.Nullable<QueryScanConsistency> |
ScanConsistency |
|
KeySpace |
MetadataCollection |
|
System.Nullable<ILoggerFactory> |
LoggerFactory |
|
Fields
|
Improve this Doc
View Source
DefaultCleanupClientAttempts
Declaration
public const bool DefaultCleanupClientAttempts = null
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultCleanupLostAttempts
Declaration
public const bool DefaultCleanupLostAttempts = null
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultCleanupWindow
Declaration
public static readonly TimeSpan DefaultCleanupWindow
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
DefaultCleanupWindowMilliseconds
The default cleanup window, in milliseconds.
Declaration
public const int DefaultCleanupWindowMilliseconds = null
Field Value
Type |
Description |
System.Int32 |
|
See Also
|
Improve this Doc
View Source
DefaultDurabilityLevel
The default durability level.
Declaration
public const DurabilityLevel DefaultDurabilityLevel = default(DurabilityLevel)
Field Value
See Also
|
Improve this Doc
View Source
DefaultExpiration
Declaration
public static readonly TimeSpan DefaultExpiration
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
DefaultExpirationMilliseconds
The default expiration, in milliseconds.
Declaration
public const int DefaultExpirationMilliseconds = null
Field Value
Type |
Description |
System.Int32 |
|
See Also
|
Improve this Doc
View Source
DefaultLogOnFailure
The default log level for failures.
Declaration
public const Severity DefaultLogOnFailure = Severity.Error
Field Value
Properties
|
Improve this Doc
View Source
CleanupClientAttempts
Declaration
public bool CleanupClientAttempts { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CleanupLostAttempts
Declaration
public bool CleanupLostAttempts { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CleanupWindow
Declaration
public TimeSpan? CleanupWindow { get; set; }
Property Value
Type |
Description |
System.Nullable<TimeSpan> |
|
|
Improve this Doc
View Source
DurabilityLevel
Declaration
public DurabilityLevel DurabilityLevel { get; set; }
Property Value
|
Improve this Doc
View Source
ExpirationTime
Declaration
public TimeSpan? ExpirationTime { get; set; }
Property Value
Type |
Description |
System.Nullable<TimeSpan> |
|
|
Improve this Doc
View Source
LoggerFactory
Declaration
public ILoggerFactory? LoggerFactory { get; set; }
Property Value
Type |
Description |
System.Nullable<ILoggerFactory> |
|
|
Improve this Doc
View Source
Declaration
public KeySpace MetadataCollection { get; set; }
Property Value
|
Improve this Doc
View Source
ScanConsistency
Declaration
public QueryScanConsistency? ScanConsistency { get; set; }
Property Value
Implements
System.IEquatable<>