MemoryAdapterFactory<TSerializer> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MemoryAdapterFactory<TSerializer>()
public MemoryAdapterFactory ();
Public Sub New ()
适用于
MemoryAdapterFactory<TSerializer>(String, StreamCacheEvictionOptions, StreamStatisticOptions, HashRingStreamQueueMapperOptions, IServiceProvider, IGrainFactory, ILoggerFactory)
public MemoryAdapterFactory (string providerName, Orleans.Configuration.StreamCacheEvictionOptions cacheOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Configuration.HashRingStreamQueueMapperOptions queueMapperOptions, IServiceProvider serviceProvider, Orleans.IGrainFactory grainFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.HashRingStreamQueueMapperOptions * IServiceProvider * Orleans.IGrainFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (providerName As String, cacheOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, queueMapperOptions As HashRingStreamQueueMapperOptions, serviceProvider As IServiceProvider, grainFactory As IGrainFactory, loggerFactory As ILoggerFactory)
参数
- providerName
- String
- cacheOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- queueMapperOptions
- HashRingStreamQueueMapperOptions
- serviceProvider
- IServiceProvider
- grainFactory
- IGrainFactory
- loggerFactory
- ILoggerFactory
适用于
MemoryAdapterFactory<TSerializer>(String, StreamCacheEvictionOptions, StreamStatisticOptions, HashRingStreamQueueMapperOptions, IServiceProvider, IGrainFactory, ITelemetryProducer, ILoggerFactory)
- Source:
- MemoryAdapterFactory.cs
public MemoryAdapterFactory (string providerName, Orleans.Configuration.StreamCacheEvictionOptions cacheOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Configuration.HashRingStreamQueueMapperOptions queueMapperOptions, IServiceProvider serviceProvider, Orleans.IGrainFactory grainFactory, Orleans.Runtime.ITelemetryProducer telemetryProducer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.HashRingStreamQueueMapperOptions * IServiceProvider * Orleans.IGrainFactory * Orleans.Runtime.ITelemetryProducer * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (providerName As String, cacheOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, queueMapperOptions As HashRingStreamQueueMapperOptions, serviceProvider As IServiceProvider, grainFactory As IGrainFactory, telemetryProducer As ITelemetryProducer, loggerFactory As ILoggerFactory)
参数
- providerName
- String
- cacheOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- queueMapperOptions
- HashRingStreamQueueMapperOptions
- serviceProvider
- IServiceProvider
- grainFactory
- IGrainFactory
- telemetryProducer
- ITelemetryProducer
- loggerFactory
- ILoggerFactory