Class TransactionsConfig
The configuration to use for each transaction against a given cluster.
Inherited Members
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionsConfig
Fields
| Edit this page View SourceDefaultDurabilityLevel
The default durability level.
Declaration
public const DurabilityLevel DefaultDurabilityLevel = Majority
Field Value
Type | Description |
---|---|
Durability |
See Also
| Edit this page View SourceDefaultExpirationMilliseconds
The default expiration, in milliseconds.
Declaration
public const int DefaultExpirationMilliseconds = 15000
Field Value
Type | Description |
---|---|
int |
See Also
| Edit this page View SourceDefaultLogOnFailure
The default log level for failures.
Declaration
public const Severity DefaultLogOnFailure = Error
Field Value
Type | Description |
---|---|
Severity |
Properties
| Edit this page View SourceCleanupConfig
Gets the Transaction
Declaration
public TransactionCleanupConfig CleanupConfig { get; }
Property Value
Type | Description |
---|---|
Transaction |
DurabilityLevel
Gets a value for the minimum durability level to use for modification operations.
Declaration
public DurabilityLevel DurabilityLevel { get; }
Property Value
Type | Description |
---|---|
Durability |
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 |
---|---|
Time |
KeyValueTimeout
Gets a value indicating the timeout on Couchbase Key/Value operations.
Declaration
public TimeSpan? KeyValueTimeout { get; }
Property Value
Type | Description |
---|---|
Time |
LoggerFactory
Gets a ILogger
Declaration
public ILoggerFactory? LoggerFactory { get; }
Property Value
Type | Description |
---|---|
ILogger |
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 |
ScanConsistency
Gets the Query
Declaration
public QueryScanConsistency? ScanConsistency { get; }
Property Value
Type | Description |
---|---|
Query |