Поделиться через


LeaseBasedQueueBalancer Конструкторы

Определение

Перегрузки

LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, ITimerRegistry, IServiceProvider, ILoggerFactory)

Инициализирует новый экземпляр класса LeaseBasedQueueBalancer.

LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, IServiceProvider, ISiloStatusOracle, IDeploymentConfiguration, ILoggerFactory)

Конструктор

LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, ITimerRegistry, IServiceProvider, ILoggerFactory)

Исходный код:
LeaseBasedQueueBalancer.cs

Инициализирует новый экземпляр класса LeaseBasedQueueBalancer.

public LeaseBasedQueueBalancer (string name, Orleans.Configuration.LeaseBasedQueueBalancerOptions options, Orleans.LeaseProviders.ILeaseProvider leaseProvider, Orleans.Timers.ITimerRegistry timerRegistry, IServiceProvider services, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Streams.LeaseBasedQueueBalancer : string * Orleans.Configuration.LeaseBasedQueueBalancerOptions * Orleans.LeaseProviders.ILeaseProvider * Orleans.Timers.ITimerRegistry * IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Streams.LeaseBasedQueueBalancer
Public Sub New (name As String, options As LeaseBasedQueueBalancerOptions, leaseProvider As ILeaseProvider, timerRegistry As ITimerRegistry, services As IServiceProvider, loggerFactory As ILoggerFactory)

Параметры

name
String

Имя.

options
LeaseBasedQueueBalancerOptions

Параметры.

leaseProvider
ILeaseProvider

Поставщик аренды.

timerRegistry
ITimerRegistry

Реестр таймера.

services
IServiceProvider

Службы.

loggerFactory
ILoggerFactory

Фабрика средства ведения журнала.

Применяется к

LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, IServiceProvider, ISiloStatusOracle, IDeploymentConfiguration, ILoggerFactory)

Конструктор

public LeaseBasedQueueBalancer (string name, Orleans.Configuration.LeaseBasedQueueBalancerOptions options, IServiceProvider serviceProvider, Orleans.Runtime.ISiloStatusOracle siloStatusOracle, Orleans.Streams.IDeploymentConfiguration deploymentConfig, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Streams.LeaseBasedQueueBalancer : string * Orleans.Configuration.LeaseBasedQueueBalancerOptions * IServiceProvider * Orleans.Runtime.ISiloStatusOracle * Orleans.Streams.IDeploymentConfiguration * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Streams.LeaseBasedQueueBalancer
Public Sub New (name As String, options As LeaseBasedQueueBalancerOptions, serviceProvider As IServiceProvider, siloStatusOracle As ISiloStatusOracle, deploymentConfig As IDeploymentConfiguration, loggerFactory As ILoggerFactory)

Параметры

name
String
serviceProvider
IServiceProvider
siloStatusOracle
ISiloStatusOracle
deploymentConfig
IDeploymentConfiguration
loggerFactory
ILoggerFactory

Применяется к