EventHubQueueCacheFactory.AddCachePressureMonitors 方法

定义

用于为 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)

参数

cacheLogger
ILogger

适用于