다음을 통해 공유


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를 구성합니다.

적용 대상