Edit

Share via


EventHubQueueCacheFactory Constructor

Definition

Constructor for EventHubQueueCacheFactory

public EventHubQueueCacheFactory (Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions evictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Streaming.EventHubs.IEventHubDataAdapter dataAdater, Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions sharedDimensions, Func<Orleans.Streaming.EventHubs.EventHubCacheMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Providers.Streams.Common.ICacheMonitor> cacheMonitorFactory = default, Func<Orleans.Streaming.EventHubs.EventHubBlockPoolMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Providers.Streams.Common.IBlockPoolMonitor> blockPoolMonitorFactory = default);
new Orleans.Streaming.EventHubs.EventHubQueueCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Streaming.EventHubs.IEventHubDataAdapter * Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions * Func<Orleans.Streaming.EventHubs.EventHubCacheMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Providers.Streams.Common.ICacheMonitor> * Func<Orleans.Streaming.EventHubs.EventHubBlockPoolMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Providers.Streams.Common.IBlockPoolMonitor> -> Orleans.Streaming.EventHubs.EventHubQueueCacheFactory
Public Sub New (cacheOptions As EventHubStreamCachePressureOptions, evictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, dataAdater As IEventHubDataAdapter, sharedDimensions As EventHubMonitorAggregationDimensions, Optional cacheMonitorFactory As Func(Of EventHubCacheMonitorDimensions, ILoggerFactory, ICacheMonitor) = Nothing, Optional blockPoolMonitorFactory As Func(Of EventHubBlockPoolMonitorDimensions, ILoggerFactory, IBlockPoolMonitor) = Nothing)

Parameters

evictionOptions
StreamCacheEvictionOptions
statisticOptions
StreamStatisticOptions

Applies to