Skip to content

EventHubQueueCacheFactory Methods

Factory class to configure and create IEventHubQueueCache

CreateCache(string, IStreamQueueCheckpointer<string>, ILoggerFactory)

View source
public IEventHubQueueCache CreateCache(string partition, IStreamQueueCheckpointer<string> checkpointer, ILoggerFactory loggerFactory)
Function which create an EventHubQueueCache, which by default will configure the EventHubQueueCache using configuration in CreateBufferPool function and AddCachePressureMonitors function.

Parameters

partitionstring
checkpointerIStreamQueueCheckpointer<string>
loggerFactoryILoggerFactory