PooledQueueCache 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
入池队列缓存是从池中获取资源的消息缓存
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)
参数
- cacheDataAdapter
- ICacheDataAdapter
缓存数据适配器。
- logger
- ILogger
记录器。
- cacheMonitor
- ICacheMonitor
缓存监视器。