MemoryDistributedCacheOptions 類別

定義

指定的選項 MemoryDistributedCacheOptions

public ref class MemoryDistributedCacheOptions : Microsoft::Extensions::Caching::Memory::MemoryCacheOptions
public class MemoryDistributedCacheOptions : Microsoft.Extensions.Caching.Memory.MemoryCacheOptions
type MemoryDistributedCacheOptions = class
    inherit MemoryCacheOptions
Public Class MemoryDistributedCacheOptions
Inherits MemoryCacheOptions
繼承
MemoryDistributedCacheOptions

建構函式

MemoryDistributedCacheOptions()

初始化 MemoryDistributedCacheOptions 的新執行個體。

屬性

Clock

取得或設定快取用於到期的時鐘。

(繼承來源 MemoryCacheOptions)
CompactionPercentage

取得或設定超過大小上限時要壓縮的快取數量。

(繼承來源 MemoryCacheOptions)
CompactOnMemoryPressure
已淘汰.
已淘汰.

取得或設定連續掃描過期項目間的時間長度下限。

(繼承來源 MemoryCacheOptions)
ExpirationScanFrequency

取得或設定連續掃描過期項目間的時間長度下限。

(繼承來源 MemoryCacheOptions)
SizeLimit

取得或設定快取的大小上限。

(繼承來源 MemoryCacheOptions)
TrackLinkedCacheEntries

取得或設定值,這個值表示是否要追蹤連結的專案。

(繼承來源 MemoryCacheOptions)
TrackStatistics

取得或設定是否要追蹤記憶體快取統計數據。 預設為停用。

(繼承來源 MemoryCacheOptions)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IOptions<MemoryCacheOptions>.Value

取得預設的已設定 TOptions 執行個體。

(繼承來源 MemoryCacheOptions)

適用於