Edit

Share via


EventHubAdapterFactory.CreateCacheFactory Method

Definition

Overloads

CreateCacheFactory(EventHubStreamCachePressureOptions)

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.

CreateCacheFactory(EventHubStreamProviderSettings)

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.

CreateCacheFactory(EventHubStreamCachePressureOptions)

Source:
EventHubAdapterFactory.cs

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.ServiceBus.Providers.IEventHubQueueCacheFactory CreateCacheFactory (Orleans.Configuration.EventHubStreamCachePressureOptions eventHubCacheOptions);
abstract member CreateCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions -> Orleans.ServiceBus.Providers.IEventHubQueueCacheFactory
override this.CreateCacheFactory : Orleans.Configuration.EventHubStreamCachePressureOptions -> Orleans.ServiceBus.Providers.IEventHubQueueCacheFactory
Protected Overridable Function CreateCacheFactory (eventHubCacheOptions As EventHubStreamCachePressureOptions) As IEventHubQueueCacheFactory

Parameters

eventHubCacheOptions
EventHubStreamCachePressureOptions

Returns

Applies to

CreateCacheFactory(EventHubStreamProviderSettings)

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.ServiceBus.Providers.IEventHubQueueCacheFactory CreateCacheFactory (Orleans.ServiceBus.Providers.EventHubStreamProviderSettings providerSettings);
abstract member CreateCacheFactory : Orleans.ServiceBus.Providers.EventHubStreamProviderSettings -> Orleans.ServiceBus.Providers.IEventHubQueueCacheFactory
override this.CreateCacheFactory : Orleans.ServiceBus.Providers.EventHubStreamProviderSettings -> Orleans.ServiceBus.Providers.IEventHubQueueCacheFactory
Protected Overridable Function CreateCacheFactory (providerSettings As EventHubStreamProviderSettings) As IEventHubQueueCacheFactory

Parameters

Returns

Applies to