Skip to content

EventHubQueueCacheFactory.CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, string)

CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, string)

virtual
View source
protected virtual IObjectPool<FixedSizeBuffer> CreateBufferPool(StreamStatisticOptions statisticOptions, ILoggerFactory loggerFactory, EventHubMonitorAggregationDimensions sharedDimensions, out string blockPoolId)
Function used to configure BufferPool for EventHubQueueCache. User can override this function to provide more customization on BufferPool creation

Parameters

statisticOptionsStreamStatisticOptions
loggerFactoryILoggerFactory
sharedDimensionsEventHubMonitorAggregationDimensions
blockPoolIdstring