Edit

Share via


EventHubQueueCacheFactory Class

Definition

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

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

Constructor for EventHubQueueCacheFactory

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

Constructor for EventHubQueueCacheFactory

EventHubQueueCacheFactory(EventHubStreamProviderSettings, SerializationManager, EventHubMonitorAggregationDimensions, Func<EventHubCacheMonitorDimensions, Logger,ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, Logger,IBlockPoolMonitor>)

Constructor for EventHubQueueCacheFactory

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.

Applies to