SimpleQueueAdapterCache 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SimpleQueueAdapterCache(Int32, Logger) |
简单队列缓存的适配器 |
SimpleQueueAdapterCache(SimpleQueueCacheOptions, String, ILoggerFactory) |
适用于简单队列缓存的适配器。 |
SimpleQueueAdapterCache(Int32, Logger)
简单队列缓存的适配器
public SimpleQueueAdapterCache (int cacheSize, Orleans.Runtime.Logger logger);
new Orleans.Providers.Streams.Common.SimpleQueueAdapterCache : int * Orleans.Runtime.Logger -> Orleans.Providers.Streams.Common.SimpleQueueAdapterCache
Public Sub New (cacheSize As Integer, logger As Logger)
参数
- cacheSize
- Int32
- logger
- Logger
适用于
SimpleQueueAdapterCache(SimpleQueueCacheOptions, String, ILoggerFactory)
- Source:
- SimpleQueueAdapterCache.cs
适用于简单队列缓存的适配器。
public SimpleQueueAdapterCache (Orleans.Configuration.SimpleQueueCacheOptions options, string providerName, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Providers.Streams.Common.SimpleQueueAdapterCache : Orleans.Configuration.SimpleQueueCacheOptions * string * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Providers.Streams.Common.SimpleQueueAdapterCache
Public Sub New (options As SimpleQueueCacheOptions, providerName As String, loggerFactory As ILoggerFactory)
参数
- options
- SimpleQueueCacheOptions
选项。
- providerName
- String
流提供程序名称。
- loggerFactory
- ILoggerFactory
记录器工厂。