Edit

Share via


EventHubQueueCacheFactory.CreateBufferPool Method

Definition

Function used to configure BufferPool for EventHubQueueCache. User can override this function to provide more customization on BufferPool creation

protected virtual Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> CreateBufferPool (Orleans.Configuration.StreamStatisticOptions statisticOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions sharedDimensions, out string blockPoolId);
abstract member CreateBufferPool : Orleans.Configuration.StreamStatisticOptions * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
override this.CreateBufferPool : Orleans.Configuration.StreamStatisticOptions * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Streaming.EventHubs.EventHubMonitorAggregationDimensions * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
Protected Overridable Function CreateBufferPool (statisticOptions As StreamStatisticOptions, loggerFactory As ILoggerFactory, sharedDimensions As EventHubMonitorAggregationDimensions, ByRef blockPoolId As String) As IObjectPool(Of FixedSizeBuffer)

Parameters

statisticOptions
StreamStatisticOptions
loggerFactory
ILoggerFactory
blockPoolId
String

Returns

Applies to