共用方式為


PooledQueueCache 建構函式

定義

集區佇列快取是訊息的快取,可從集區取得資源

public PooledQueueCache (Orleans.Providers.Streams.Common.ICacheDataAdapter cacheDataAdapter, Microsoft.Extensions.Logging.ILogger logger, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? cacheMonitorWriteInterval, TimeSpan? purgeMetadataInterval = default);
new Orleans.Providers.Streams.Common.PooledQueueCache : Orleans.Providers.Streams.Common.ICacheDataAdapter * Microsoft.Extensions.Logging.ILogger * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.PooledQueueCache
Public Sub New (cacheDataAdapter As ICacheDataAdapter, logger As ILogger, cacheMonitor As ICacheMonitor, cacheMonitorWriteInterval As Nullable(Of TimeSpan), Optional purgeMetadataInterval As Nullable(Of TimeSpan) = Nothing)

參數

cacheDataAdapter
ICacheDataAdapter

快取資料配接器。

logger
ILogger

登入程式。

cacheMonitor
ICacheMonitor

快取監視器。

cacheMonitorWriteInterval
Nullable<TimeSpan>

快取監視器寫入間隔。 僅針對使用中快取觸發。

purgeMetadataInterval
Nullable<TimeSpan>

要清除快取中繼資料的間隔。

適用於