EventHubQueueCacheFactory.AddCachePressureMonitors 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用來設定 EventHubQueueCache 快取壓力監視器的函式。 使用者可以覆寫此函式,以提供更多快取壓力監視器的自訂
protected virtual void AddCachePressureMonitors (Orleans.Streaming.EventHubs.IEventHubQueueCache cache, Orleans.Configuration.EventHubStreamCachePressureOptions providerOptions, Microsoft.Extensions.Logging.ILogger cacheLogger);
abstract member AddCachePressureMonitors : Orleans.Streaming.EventHubs.IEventHubQueueCache * Orleans.Configuration.EventHubStreamCachePressureOptions * Microsoft.Extensions.Logging.ILogger -> unit
override this.AddCachePressureMonitors : Orleans.Streaming.EventHubs.IEventHubQueueCache * Orleans.Configuration.EventHubStreamCachePressureOptions * Microsoft.Extensions.Logging.ILogger -> unit
Protected Overridable Sub AddCachePressureMonitors (cache As IEventHubQueueCache, providerOptions As EventHubStreamCachePressureOptions, cacheLogger As ILogger)
參數
- cache
- IEventHubQueueCache
- providerOptions
- EventHubStreamCachePressureOptions
- cacheLogger
- ILogger