EventHubQueueCacheFactory.AddCachePressureMonitors 方法

定义

重载

AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamCachePressureOptions, ILogger)

用于为 EventHubQueueCache 配置缓存压力监视器的函数。 用户可以重写此函数,以便对缓存压力监视器提供更多自定义

AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamProviderSettings, Logger)

用于为 EventHubQueueCache 配置缓存压力监视器的函数。 用户可以重写此函数,以便对缓存压力监视器提供更多自定义

AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamCachePressureOptions, ILogger)

Source:
EventHubQueueCacheFactory.cs

用于为 EventHubQueueCache 配置缓存压力监视器的函数。 用户可以重写此函数,以便对缓存压力监视器提供更多自定义

protected virtual void AddCachePressureMonitors (Orleans.ServiceBus.Providers.IEventHubQueueCache cache, Orleans.Configuration.EventHubStreamCachePressureOptions providerOptions, Microsoft.Extensions.Logging.ILogger cacheLogger);
abstract member AddCachePressureMonitors : Orleans.ServiceBus.Providers.IEventHubQueueCache * Orleans.Configuration.EventHubStreamCachePressureOptions * Microsoft.Extensions.Logging.ILogger -> unit
override this.AddCachePressureMonitors : Orleans.ServiceBus.Providers.IEventHubQueueCache * Orleans.Configuration.EventHubStreamCachePressureOptions * Microsoft.Extensions.Logging.ILogger -> unit
Protected Overridable Sub AddCachePressureMonitors (cache As IEventHubQueueCache, providerOptions As EventHubStreamCachePressureOptions, cacheLogger As ILogger)

参数

cacheLogger
ILogger

适用于

AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamProviderSettings, Logger)

用于为 EventHubQueueCache 配置缓存压力监视器的函数。 用户可以重写此函数,以便对缓存压力监视器提供更多自定义

protected virtual void AddCachePressureMonitors (Orleans.ServiceBus.Providers.IEventHubQueueCache cache, Orleans.ServiceBus.Providers.EventHubStreamProviderSettings providerSettings, Orleans.Runtime.Logger cacheLogger);
abstract member AddCachePressureMonitors : Orleans.ServiceBus.Providers.IEventHubQueueCache * Orleans.ServiceBus.Providers.EventHubStreamProviderSettings * Orleans.Runtime.Logger -> unit
override this.AddCachePressureMonitors : Orleans.ServiceBus.Providers.IEventHubQueueCache * Orleans.ServiceBus.Providers.EventHubStreamProviderSettings * Orleans.Runtime.Logger -> unit
Protected Overridable Sub AddCachePressureMonitors (cache As IEventHubQueueCache, providerSettings As EventHubStreamProviderSettings, cacheLogger As Logger)

参数

cacheLogger
Logger

适用于