共用方式為


EventHubQueueCacheFactory.CreateBufferPool 方法

定義

多載

CreateBufferPool(EventHubStreamProviderSettings, Logger, EventHubMonitorAggregationDimensions, String)

用來設定 EventHubQueueCache 之 BufferPool 的函式。 使用者可以覆寫此函式,以在建立 BufferPool 時提供更多自訂

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

用來設定 EventHubQueueCache 之 BufferPool 的函式。 使用者可以覆寫此函式,以在建立 BufferPool 時提供更多自訂

CreateBufferPool(EventHubStreamProviderSettings, Logger, EventHubMonitorAggregationDimensions, String)

用來設定 EventHubQueueCache 之 BufferPool 的函式。 使用者可以覆寫此函式,以在建立 BufferPool 時提供更多自訂

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)

參數

logger
Logger
blockPoolId
String

建立集區的識別碼,主要用於監視作為維度

傳回

適用於

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

來源:
EventHubQueueCacheFactory.cs

用來設定 EventHubQueueCache 之 BufferPool 的函式。 使用者可以覆寫此函式,以在建立 BufferPool 時提供更多自訂

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)

參數

statisticOptions
StreamStatisticOptions
loggerFactory
ILoggerFactory
telemetryProducer
ITelemetryProducer
blockPoolId
String

傳回

適用於