Partager via


EventHubQueueCacheFactory.CreateBufferPool Méthode

Définition

Fonction utilisée pour configurer BufferPool pour EventHubQueueCache. L’utilisateur peut remplacer cette fonction pour fournir plus de personnalisation lors de la création de BufferPool

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)

Paramètres

statisticOptions
StreamStatisticOptions
loggerFactory
ILoggerFactory
blockPoolId
String

Retours

S’applique à