EventHubQueueCacheFactory.AddCachePressureMonitors 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- cache
- IEventHubQueueCache
- providerOptions
- EventHubStreamCachePressureOptions
- 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)
参数
- cache
- IEventHubQueueCache
- providerSettings
- EventHubStreamProviderSettings
- cacheLogger
- Logger