Open sandboxFocus

Class CacheCleanupOptions

Options for cache cleanup operations.

Inheritance
CacheCleanupOptions
Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public sealed class CacheCleanupOptions

Constructors

Name Description
CacheCleanupOptions()

Properties

Name Description
Default

Get the default options.

Dry

Gets or sets a value indicating whether the cleanup operation should report errors but not attempt to fix them.

MaxConcurrency

Gets or sets the maximum number of keys being analyzed and cleaned up concurrently. The default value is 20.

RemediationDelay

Gets or sets the delay between the moment an inconsistency is detected and moment a remediation is attempted. The default value is 10 seconds.

WaitDelay

Gets or sets the delay between the processing of two keys. The default value is 0.

Extension Methods