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