EventHubQueueCacheFactory クラス

定義

IEventHubQueueCache を構成して作成するためのファクトリ クラス

public class EventHubQueueCacheFactory : Orleans.Streaming.EventHubs.IEventHubQueueCacheFactory
type EventHubQueueCacheFactory = class
    interface IEventHubQueueCacheFactory
Public Class EventHubQueueCacheFactory
Implements IEventHubQueueCacheFactory
継承
EventHubQueueCacheFactory
実装

コンストラクター

EventHubQueueCacheFactory(EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, EventHubMonitorAggregationDimensions, Func<EventHubCacheMonitorDimensions, ILoggerFactory,ICacheMonitor>, Func<EventHubBlockPoolMonitorDimensions, ILoggerFactory,IBlockPoolMonitor>)

EventHubQueueCacheFactory のコンストラクター

プロパティ

BlockPoolMonitorFactory

パフォーマンス メトリックを報告するブロック プール モニターを作成します。 ファクトリ関数は IObjectPoolMonitor を返す必要があります。

CacheMonitorFactory

パフォーマンス メトリックを報告するキャッシュ モニターを作成します。 ファクトリ関数は ICacheMonitor を返す必要があります。

メソッド

AddCachePressureMonitors(IEventHubQueueCache, EventHubStreamCachePressureOptions, ILogger)

EventHubQueueCache のキャッシュ圧力モニターを構成するために使用される関数。 ユーザーはこの関数をオーバーライドして、キャッシュ圧力モニターをさらにカスタマイズできます

CreateBufferPool(StreamStatisticOptions, ILoggerFactory, EventHubMonitorAggregationDimensions, String)

EventHubQueueCache の BufferPool を構成するために使用される関数。 ユーザーはこの関数をオーバーライドして、BufferPool の作成に関するより多くのカスタマイズを提供できます

CreateCache(String, IEventHubDataAdapter, StreamStatisticOptions, StreamCacheEvictionOptions, IStreamQueueCheckpointer<String>, ILoggerFactory, IObjectPool<FixedSizeBuffer>, String, TimePurgePredicate, EventHubMonitorAggregationDimensions)

IEventHubQueueCacheFactory.CreateCache メソッドで EventhubQueueCache を作成するために呼び出される既定の関数。 ユーザーはこのメソッドをオーバーライドして、さらにカスタマイズを追加できます。

CreateCache(String, IStreamQueueCheckpointer<String>, ILoggerFactory)

EventHubQueueCache を作成する関数。既定では、CreateBufferPool 関数と AddCachePressureMonitors 関数の構成を使用して EventHubQueueCache を構成します。

適用対象