PooledQueueCache 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
集區佇列快取是訊息的快取,可從集區取得資源
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
快取監視器。