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>)
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>