EventHubAdapterFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IEnvironmentStatisticsProvider)
public EventHubAdapterFactory (string name, Orleans.Configuration.EventHubOptions ehOptions, Orleans.Configuration.EventHubReceiverOptions receiverOptions, Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions cacheEvictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Streaming.EventHubs.IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Statistics.IEnvironmentStatisticsProvider environmentStatisticsProvider);
new Orleans.Streaming.EventHubs.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Streaming.EventHubs.IEventHubDataAdapter * IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Statistics.IEnvironmentStatisticsProvider -> Orleans.Streaming.EventHubs.EventHubAdapterFactory
Public Sub New (name As String, ehOptions As EventHubOptions, receiverOptions As EventHubReceiverOptions, cacheOptions As EventHubStreamCachePressureOptions, cacheEvictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, dataAdapter As IEventHubDataAdapter, serviceProvider As IServiceProvider, loggerFactory As ILoggerFactory, environmentStatisticsProvider As IEnvironmentStatisticsProvider)
参数
- name
- String
- ehOptions
- EventHubOptions
- receiverOptions
- EventHubReceiverOptions
- cacheOptions
- EventHubStreamCachePressureOptions
- cacheEvictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- dataAdapter
- IEventHubDataAdapter
- serviceProvider
- IServiceProvider
- loggerFactory
- ILoggerFactory
- environmentStatisticsProvider
- IEnvironmentStatisticsProvider
适用于
EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IHostEnvironmentStatistics)
public EventHubAdapterFactory (string name, Orleans.Configuration.EventHubOptions ehOptions, Orleans.Configuration.EventHubReceiverOptions receiverOptions, Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions cacheEvictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Streaming.EventHubs.IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Statistics.IHostEnvironmentStatistics hostEnvironmentStatistics);
new Orleans.Streaming.EventHubs.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Streaming.EventHubs.IEventHubDataAdapter * IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Statistics.IHostEnvironmentStatistics -> Orleans.Streaming.EventHubs.EventHubAdapterFactory
Public Sub New (name As String, ehOptions As EventHubOptions, receiverOptions As EventHubReceiverOptions, cacheOptions As EventHubStreamCachePressureOptions, cacheEvictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, dataAdapter As IEventHubDataAdapter, serviceProvider As IServiceProvider, loggerFactory As ILoggerFactory, hostEnvironmentStatistics As IHostEnvironmentStatistics)
参数
- name
- String
- ehOptions
- EventHubOptions
- receiverOptions
- EventHubReceiverOptions
- cacheOptions
- EventHubStreamCachePressureOptions
- cacheEvictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- dataAdapter
- IEventHubDataAdapter
- serviceProvider
- IServiceProvider
- loggerFactory
- ILoggerFactory
- hostEnvironmentStatistics
- IHostEnvironmentStatistics