Table of Contents

SlimMemoryCacheOptions Constructor

Definition

Namespace
Cuemon.Runtime.Caching
Assemblies
Cuemon.Runtime.Caching.dll
Source
src/Cuemon.Runtime.Caching/SlimMemoryCacheOptions.cs

SlimMemoryCacheOptions()

Initializes a new instance of the SlimMemoryCacheOptions class.

public SlimMemoryCacheOptions()

Remarks

The following table shows the initial property values for an instance of SlimMemoryCacheOptions.

PropertyInitial Value
EnableCleanuptrue
FirstSweepAfter 30 seconds
SucceedingSweepEvery 2 minutes
KeyProvider(key, ns) => Generate.HashCode64(ns == Cache.NoScope ? key.ToUpperInvariant() : $"{key}^{nameof(SlimMemoryCache)}^{ns}".ToUpperInvariant());