Class InMemoryDeduplicatorOptions
Configuration options for the in-memory deduplicator.
public sealed class InMemoryDeduplicatorOptions
- Inheritance
-
InMemoryDeduplicatorOptions
- Inherited Members
- Extension Methods
Properties
CleanupInterval
Gets or sets the interval between automatic cleanup runs.
public TimeSpan CleanupInterval { get; set; }
Property Value
- TimeSpan
Default is 30 minutes.
DefaultExpiry
Gets or sets the default expiry time for entries.
public TimeSpan DefaultExpiry { get; set; }
Property Value
- TimeSpan
Default is 24 hours.
EnableAutomaticCleanup
Gets or sets a value indicating whether to enable automatic cleanup of expired entries.
public bool EnableAutomaticCleanup { get; set; }
Property Value
- bool
Default is true.
MaxEntries
Gets or sets the maximum number of entries to keep in memory.
[Range(0, 2147483647)]
public int MaxEntries { get; set; }
Property Value
- int
Default is 100,000. Set to 0 for unlimited.