Table of Contents

Class MemoryCacheOptions

Namespace
LinqToDB.Common.Internal.Cache
Assembly
linq2db.dll
public class MemoryCacheOptions
Inheritance
MemoryCacheOptions
Extension Methods

Properties

Clock

public ISystemClock? Clock { get; set; }

Property Value

ISystemClock

CompactionPercentage

Gets or sets the amount to compact the cache by when the maximum size is exceeded.

public double CompactionPercentage { get; set; }

Property Value

double

ExpirationScanFrequency

Gets or sets the minimum length of time between successive scans for expired items.

public TimeSpan ExpirationScanFrequency { get; set; }

Property Value

TimeSpan

SizeLimit

Gets or sets the maximum size of the cache.

public long? SizeLimit { get; set; }

Property Value

long?