EventHubQueueCacheFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EventHubQueueCacheFactory(EventHubStreamProviderSettings, SerializationManager, EventHubMonitorAggregationDimensions, Func<EventHubCacheMonitorDimensions, Logger,ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, Logger,IBlockPoolMonitor>)
EventHubQueueCacheFactory 的构造函数
public EventHubQueueCacheFactory (Orleans.ServiceBus.Providers.EventHubStreamProviderSettings providerSettings, Orleans.Serialization.SerializationManager serializationManager, Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions sharedDimensions, Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions,Orleans.Runtime.Logger,Orleans.Providers.Streams.Common.ICacheMonitor> cacheMonitorFactory = default, Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions,Orleans.Runtime.Logger,Orleans.Providers.Streams.Common.IBlockPoolMonitor> blockPoolMonitorFactory = default);
new Orleans.ServiceBus.Providers.EventHubQueueCacheFactory : Orleans.ServiceBus.Providers.EventHubStreamProviderSettings * Orleans.Serialization.SerializationManager * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions, Orleans.Runtime.Logger, Orleans.Providers.Streams.Common.ICacheMonitor> * Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions, Orleans.Runtime.Logger, Orleans.Providers.Streams.Common.IBlockPoolMonitor> -> Orleans.ServiceBus.Providers.EventHubQueueCacheFactory
Public Sub New (providerSettings As EventHubStreamProviderSettings, serializationManager As SerializationManager, sharedDimensions As EventHubMonitorAggregationDimensions, Optional cacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, Logger, ICacheMonitor) = Nothing, Optional blockPoolMonitorFactory As Func(Of EventHubBlockPoolMonitorDimensions, Logger, IBlockPoolMonitor) = Nothing)
参数
- providerSettings
- EventHubStreamProviderSettings
- serializationManager
- SerializationManager
- sharedDimensions
- EventHubMonitorAggregationDimensions
缓存监视器和块池监视器之间的共享维度
- cacheMonitorFactory
- Func<EventHubCacheMonitorDimensions,Logger,ICacheMonitor>
- blockPoolMonitorFactory
- Func<EventHubBlockPoolMonitorDimensions,Logger,IBlockPoolMonitor>
适用于
EventHubQueueCacheFactory(EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, SerializationManager, EventHubMonitorAggregationDimensions, Func<EventHubCacheMonitorDimensions, ILoggerFactory,ITelemetryProducer,ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory,ITelemetryProducer,IBlockPoolMonitor>)
EventHubQueueCacheFactory 的构造函数
public EventHubQueueCacheFactory (Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions evictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Serialization.SerializationManager serializationManager, Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions sharedDimensions, Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.ICacheMonitor> cacheMonitorFactory = default, Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.IBlockPoolMonitor> blockPoolMonitorFactory = default);
new Orleans.ServiceBus.Providers.EventHubQueueCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Serialization.SerializationManager * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.ICacheMonitor> * Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.IBlockPoolMonitor> -> Orleans.ServiceBus.Providers.EventHubQueueCacheFactory
Public Sub New (cacheOptions As EventHubStreamCachePressureOptions, evictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, serializationManager As SerializationManager, sharedDimensions As EventHubMonitorAggregationDimensions, Optional cacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, ILoggerFactory, ITelemetryProducer, ICacheMonitor) = Nothing, Optional blockPoolMonitorFactory As Func(Of EventHubBlockPoolMonitorDimensions, ILoggerFactory, ITelemetryProducer, IBlockPoolMonitor) = Nothing)
参数
- cacheOptions
- EventHubStreamCachePressureOptions
- evictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- serializationManager
- SerializationManager
- sharedDimensions
- EventHubMonitorAggregationDimensions
缓存监视器和块池监视器之间的共享维度
- cacheMonitorFactory
- Func<EventHubCacheMonitorDimensions,ILoggerFactory,ITelemetryProducer,ICacheMonitor>
- blockPoolMonitorFactory
- Func<EventHubBlockPoolMonitorDimensions,ILoggerFactory,ITelemetryProducer,IBlockPoolMonitor>
适用于
EventHubQueueCacheFactory(EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, SerializationManager, EventHubMonitorAggregationDimensions, Func<EventHubCacheMonitorDimensions, ILoggerFactory,ITelemetryProducer,ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory,ITelemetryProducer,IBlockPoolMonitor>)
- Source:
- EventHubQueueCacheFactory.cs
EventHubQueueCacheFactory 的构造函数
public EventHubQueueCacheFactory (Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions evictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.ServiceBus.Providers.IEventHubDataAdapter dataAdater, Orleans.Serialization.SerializationManager serializationManager, Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions sharedDimensions, Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.ICacheMonitor> cacheMonitorFactory = default, Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.IBlockPoolMonitor> blockPoolMonitorFactory = default);
new Orleans.ServiceBus.Providers.EventHubQueueCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.ServiceBus.Providers.IEventHubDataAdapter * Orleans.Serialization.SerializationManager * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * Func<Orleans.ServiceBus.Providers.EventHubCacheMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.ICacheMonitor> * Func<Orleans.ServiceBus.Providers.EventHubBlockPoolMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.IBlockPoolMonitor> -> Orleans.ServiceBus.Providers.EventHubQueueCacheFactory
Public Sub New (cacheOptions As EventHubStreamCachePressureOptions, evictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, dataAdater As IEventHubDataAdapter, serializationManager As SerializationManager, sharedDimensions As EventHubMonitorAggregationDimensions, Optional cacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, ILoggerFactory, ITelemetryProducer, ICacheMonitor) = Nothing, Optional blockPoolMonitorFactory As Func(Of EventHubBlockPoolMonitorDimensions, ILoggerFactory, ITelemetryProducer, IBlockPoolMonitor) = Nothing)
参数
- cacheOptions
- EventHubStreamCachePressureOptions
- evictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- dataAdater
- IEventHubDataAdapter
- serializationManager
- SerializationManager
- sharedDimensions
- EventHubMonitorAggregationDimensions
- cacheMonitorFactory
- Func<EventHubCacheMonitorDimensions,ILoggerFactory,ITelemetryProducer,ICacheMonitor>
- blockPoolMonitorFactory
- Func<EventHubBlockPoolMonitorDimensions,ILoggerFactory,ITelemetryProducer,IBlockPoolMonitor>