Edit

Share via


EventHubQueueCacheFactory.CreateBufferPool Method

Definition

Overloads

CreateBufferPool(EventHubStreamProviderSettings, Logger, EventHubMonitorAggregationDimensions, String)

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

CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, ITelemetryProducer, String)

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

CreateBufferPool(EventHubStreamProviderSettings, Logger, EventHubMonitorAggregationDimensions, String)

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.ServiceBus.Providers.EventHubStreamProviderSettings providerSettings, Orleans.Runtime.Logger logger, Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions sharedDimensions, out string blockPoolId);
abstract member CreateBufferPool : Orleans.ServiceBus.Providers.EventHubStreamProviderSettings * Orleans.Runtime.Logger * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
override this.CreateBufferPool : Orleans.ServiceBus.Providers.EventHubStreamProviderSettings * Orleans.Runtime.Logger * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
Protected Overridable Function CreateBufferPool (providerSettings As EventHubStreamProviderSettings, logger As Logger, sharedDimensions As EventHubMonitorAggregationDimensions, ByRef blockPoolId As String) As IObjectPool(Of FixedSizeBuffer)

Parameters

logger
Logger
blockPoolId
String

Id for created pool, used mainly in monitoring as a dimension

Returns

Applies to

CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, ITelemetryProducer, String)

Source:
EventHubQueueCacheFactory.cs

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.ServiceBus.Providers.EventHubMonitorAggregationDimensions sharedDimensions, Orleans.Runtime.ITelemetryProducer telemetryProducer, out string blockPoolId);
abstract member CreateBufferPool : Orleans.Configuration.StreamStatisticOptions * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * Orleans.Runtime.ITelemetryProducer * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
override this.CreateBufferPool : Orleans.Configuration.StreamStatisticOptions * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.ServiceBus.Providers.EventHubMonitorAggregationDimensions * Orleans.Runtime.ITelemetryProducer * string -> Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer>
Protected Overridable Function CreateBufferPool (statisticOptions As StreamStatisticOptions, loggerFactory As ILoggerFactory, sharedDimensions As EventHubMonitorAggregationDimensions, telemetryProducer As ITelemetryProducer, ByRef blockPoolId As String) As IObjectPool(Of FixedSizeBuffer)

Parameters

statisticOptions
StreamStatisticOptions
loggerFactory
ILoggerFactory
telemetryProducer
ITelemetryProducer
blockPoolId
String

Returns

Applies to