EventHubQueueCacheFactory.CacheMonitorFactory 属性

定义

创建缓存监视器以报告性能指标。 工厂 funciton 应返回 ICacheMonitor。

public Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions,Orleans.Runtime.Logger,Orleans.Providers.Streams.Common.ICacheMonitor> CacheMonitorFactory { get; set; }
public Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.ICacheMonitor> CacheMonitorFactory { get; set; }
member this.CacheMonitorFactory : Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions, Orleans.Runtime.Logger, Orleans.Providers.Streams.Common.ICacheMonitor> with get, set
member this.CacheMonitorFactory : Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.ICacheMonitor> with get, set
Public Property CacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, Logger, ICacheMonitor)
Public Property CacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, ILoggerFactory, ITelemetryProducer, ICacheMonitor)

属性值

适用于