Skip to content

EventHubQueueCacheFactory Constructors

Factory class to configure and create IEventHubQueueCache

EventHubQueueCacheFactory(EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, EventHubMonitorAggregationDimensions, OrleansInstruments, Func<EventHubCacheMonitorDimensions, ILoggerFactory, ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory, IBlockPoolMonitor>)

View source
public EventHubQueueCacheFactory(EventHubStreamCachePressureOptions cacheOptions, StreamCacheEvictionOptions evictionOptions, StreamStatisticOptions statisticOptions, IEventHubDataAdapter dataAdater, EventHubMonitorAggregationDimensions sharedDimensions, OrleansInstruments instruments, Func<EventHubCacheMonitorDimensions, ILoggerFactory, ICacheMonitor> cacheMonitorFactory = null, Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory, IBlockPoolMonitor> blockPoolMonitorFactory = null)
Constructor for EventHubQueueCacheFactory

Parameters

cacheOptionsEventHubStreamCachePressureOptions
evictionOptionsStreamCacheEvictionOptions
statisticOptionsStreamStatisticOptions
dataAdaterIEventHubDataAdapter
sharedDimensionsEventHubMonitorAggregationDimensions
instrumentsOrleansInstruments
cacheMonitorFactoryFunc<EventHubCacheMonitorDimensions, ILoggerFactory, ICacheMonitor>
blockPoolMonitorFactoryFunc<EventHubBlockPoolMonitorDimensions, ILoggerFactory, IBlockPoolMonitor>