EventHubQueueCache(string, int, IObjectPool<FixedSizeBuffer>, IEventHubDataAdapter, IEvictionStrategy, IStreamQueueCheckpointer<string>, ILogger, ICacheMonitor, TimeSpan?, TimeSpan?)
public EventHubQueueCache(string partition, int defaultMaxAddCount, IObjectPool<FixedSizeBuffer> bufferPool, IEventHubDataAdapter dataAdapter, IEvictionStrategy evictionStrategy, IStreamQueueCheckpointer<string> checkpointer, ILogger logger, ICacheMonitor cacheMonitor, TimeSpan? cacheMonitorWriteInterval, TimeSpan? metadataMinTimeInCache) EventHub queue cache.
Parameters
partitionstring- Partition this instance is caching.
defaultMaxAddCountint- Default max number of items that can be added to the cache between purge calls.
bufferPoolIObjectPool<FixedSizeBuffer>- The raw data block pool.
dataAdapterIEventHubDataAdapter- The adapter used to convert Event Hubs data into cached messages.
evictionStrategyIEvictionStrategy- The strategy used to evict cached messages.
checkpointerIStreamQueueCheckpointer<string>- The checkpointer used to persist queue progress.
loggerILogger- The logger.
cacheMonitorICacheMonitor- The cache statistics monitor.
cacheMonitorWriteIntervalTimeSpan?- The interval between cache statistics updates.
metadataMinTimeInCacheTimeSpan?- The minimum time metadata remains in the cache.
