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.Streaming.EventHubs.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 function should return an IObjectPoolMonitor. |
CacheMonitorFactory |
Create a cache monitor to report performance metrics. Factory function 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 |
CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, String) |
Function used to configure BufferPool for EventHubQueueCache. User can override this function to provide more customization on BufferPool creation |
CreateCache(String, IEventHubDataAdapter, StreamStatisticOptions, StreamCacheEvictionOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, 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, IStreamQueueCheckpointer<String>, ILoggerFactory) |
Function which create an EventHubQueueCache, which by default will configure the EventHubQueueCache using configuration in CreateBufferPool function and AddCachePressureMonitors function. |