Class TransactionCleanupConfig
Inherited Members
Namespace: Couchbase.Client.Transactions.Config
Assembly: Couchbase.NetClient.dll
Syntax
public class TransactionCleanupConfig
Fields
| Edit this page View SourceDefaultCleanupClientAttempts
The default value of Cleanup
Declaration
public const bool DefaultCleanupClientAttempts = true
Field Value
Type | Description |
---|---|
bool |
DefaultCleanupLostAttempts
The default value of Cleanup
Declaration
public const bool DefaultCleanupLostAttempts = true
Field Value
Type | Description |
---|---|
bool |
DefaultCleanupWindowMilliseconds
The default cleanup window, in milliseconds.
Declaration
public const int DefaultCleanupWindowMilliseconds = 60000
Field Value
Type | Description |
---|---|
int |
See Also
Properties
| Edit this page View SourceCleanupClientAttempts
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 |
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 |
CleanupWindow
Gets a value indicating the period between runs of the cleanup thread.
Declaration
public TimeSpan CleanupWindow { get; }
Property Value
Type | Description |
---|---|
Time |
CollectionsList
Collections to cleanup lost/abandoned transactions attempts from this or other clients
Declaration
public List<Keyspace> CollectionsList { get; }