Edit

Share via


PooledQueueCache Constructor

Definition

Pooled queue cache is a cache of message that obtains resource from a pool

public PooledQueueCache (Orleans.Providers.Streams.Common.ICacheDataAdapter cacheDataAdapter, Microsoft.Extensions.Logging.ILogger logger, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? cacheMonitorWriteInterval, TimeSpan? purgeMetadataInterval = default);
new Orleans.Providers.Streams.Common.PooledQueueCache : Orleans.Providers.Streams.Common.ICacheDataAdapter * Microsoft.Extensions.Logging.ILogger * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.PooledQueueCache
Public Sub New (cacheDataAdapter As ICacheDataAdapter, logger As ILogger, cacheMonitor As ICacheMonitor, cacheMonitorWriteInterval As Nullable(Of TimeSpan), Optional purgeMetadataInterval As Nullable(Of TimeSpan) = Nothing)

Parameters

cacheDataAdapter
ICacheDataAdapter

The cache data adapter.

logger
ILogger

The logger.

cacheMonitor
ICacheMonitor

The cache monitor.

cacheMonitorWriteInterval
Nullable<TimeSpan>

The cache monitor write interval. Only triggered for active caches.

purgeMetadataInterval
Nullable<TimeSpan>

The interval after which to purge cache metadata.

Applies to