A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.memory.cacheitempriority below:

CacheItemPriority Enum (Microsoft.Extensions.Caching.Memory) | Microsoft Learn

CacheItemPriority Enum Definition

Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.

public enum class CacheItemPriority
public enum CacheItemPriority
type CacheItemPriority = 
Public Enum CacheItemPriority
Inheritance
Fields Name Value Description Low 0

The cache entry should be removed as soon as possible during memory pressure triggered cleanup.

Normal 1

The cache entry should be removed if there is no other low priority cache entries during memory pressure triggered cleanup.

High 2

The cache entry should be removed only when there is no other low or normal priority cache entries during memory pressure triggered cleanup.

NeverRemove 3

The cache entry should never be removed during memory pressure triggered cleanup.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4