Edit

Share via


EventHubAdapterFactory.CreateCacheFactory Method

Definition

Create a IEventHubQueueCacheFactory. It will create a EventHubQueueCacheFactory by default. User can override this function to return their own implementation of IEventHubQueueCacheFactory, and other customization of IEventHubQueueCacheFactory if they may.

protected virtual Orleans.Streaming.EventHubs.IEventHubQueueCacheFactory CreateCacheFactory (Orleans.Configuration.EventHubStreamCachePressureOptions eventHubCacheOptions);
abstract member CreateCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions -> Orleans.Streaming.EventHubs.IEventHubQueueCacheFactory
override this.CreateCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions -> Orleans.Streaming.EventHubs.IEventHubQueueCacheFactory
Protected Overridable Function CreateCacheFactory (eventHubCacheOptions As EventHubStreamCachePressureOptions) As IEventHubQueueCacheFactory

Parameters

eventHubCacheOptions
EventHubStreamCachePressureOptions

Returns

Applies to