EventHubQueueCacheFactory.CreateBufferPool 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
參數
- providerSettings
- EventHubStreamProviderSettings
- logger
- Logger
- sharedDimensions
- EventHubMonitorAggregationDimensions
- blockPoolId
- String
建立集區的識別碼,主要用於監視作為維度
傳回
適用於
CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, ITelemetryProducer, String)
用來設定 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
- sharedDimensions
- EventHubMonitorAggregationDimensions
- telemetryProducer
- ITelemetryProducer
- blockPoolId
- String