EventHubQueueCacheFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory class to configure and create IEventHubQueueCache
public class EventHubQueueCacheFactory : Orleans.ServiceBus.Providers.IEventHubQueueCacheFactory
type EventHubQueueCacheFactory = class
interface IEventHubQueueCacheFactory
Public Class EventHubQueueCacheFactory
Implements IEventHubQueueCacheFactory
- Inheritance
-
EventHubQueueCacheFactory
- Implements
Constructors
Properties
BlockPoolMonitorFactory |
Create a block pool monitor to report performance metrics. Factory funciton should return an IObjectPoolMonitor. |
CacheMonitorFactory |
Create a cache monitor to report performance metrics. Factory funciton should return an ICacheMonitor. |
Methods
AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamCachePressureOptions, ILogger) |
Function used to configure cache pressure monitors for EventHubQueueCache. User can override this function to provide more customization on cache pressure monitors |
AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamProviderSettings, Logger) |
Function used to configure cache pressure monitors for EventHubQueueCache. User can override this function to provide more customization on cache pressure monitors |
CreateBufferPool(EventHubStreamProviderSettings, Logger, EventHubMonitorAggregationDimensions, String) |
Function used to configure BufferPool for EventHubQueueCache. User can override this function to provide more customization on BufferPool creation |
CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, ITelemetryProducer, String) |
Function used to configure BufferPool for EventHubQueueCache. User can override this function to provide more customization on BufferPool creation |
CreateCache(String, EventHubStreamProviderSettings, IStreamQueueCheckpointer<String>, Logger, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, SerializationManager, EventHubMonitorAggregationDimensions) |
Default function to be called to create an EventhubQueueCache in IEventHubQueueCacheFactory.CreateCache method. User can override this method to add more customization. |
CreateCache(String, IEventHubDataAdapter, StreamStatisticOptions, StreamCacheEvictionOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, SerializationManager, EventHubMonitorAggregationDimensions, ITelemetryProducer) |
Default function to be called to create an EventhubQueueCache in IEventHubQueueCacheFactory.CreateCache method. User can override this method to add more customization. |
CreateCache(String, IStreamQueueCheckpointer<String>, ILoggerFactory, ITelemetryProducer) |
Function which create an EventHubQueueCache, which by default will configure the EventHubQueueCache using configuration in CreateBufferPool function and AddCachePressureMonitors function. |
CreateCache(String, IStreamQueueCheckpointer<String>, Logger) |
Function which create an EventHubQueueCache, which by default will configure the EventHubQueueCache using configuration in CreateBufferPool function and AddCachePressureMonitors function. |
CreateCache(String, StreamStatisticOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, SerializationManager, EventHubMonitorAggregationDimensions, ITelemetryProducer) |
Default function to be called to create an EventhubQueueCache in IEventHubQueueCacheFactory.CreateCache method. User can override this method to add more customization. |