Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class TransactionCleanupConfig

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

Fields

View Source

DefaultCleanupClientAttempts

The default value of CleanupClientAttempts (true).

Declaration
public const bool DefaultCleanupClientAttempts = true
Field Value
Type Description
bool
View Source

DefaultCleanupLostAttempts

The default value of CleanupLostAttempts (true).

Declaration
public const bool DefaultCleanupLostAttempts = true
Field Value
Type Description
bool
View Source

DefaultCleanupWindowMilliseconds

The default cleanup window, in milliseconds.

Declaration
public const int DefaultCleanupWindowMilliseconds = 60000
Field Value
Type Description
int
See Also
CleanupWindow

Properties

View Source

CleanupClientAttempts

Gets a value indicating whether to run the background thread to clean up failed attempts from this transactions instance.

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

CleanupLostAttempts

Gets a value indicating whether to run the background thread to clean up lost/abandoned transactions from other clients.

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

CleanupWindow

Gets a value indicating the period between runs of the cleanup thread.

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

CollectionsList

Collections to cleanup lost/abandoned transactions attempts from this or other clients

Declaration
public List<Keyspace> CollectionsList { get; }
Property Value
Type Description
List<Keyspace>
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.