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


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

Определение

Перегрузки

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

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

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

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, ILeaseProvider, IServiceProvider, ILoggerFactory, TimeProvider)

LeaseBasedQueueBalancer. Этот балансировщик поддерживает балансировку очередей в сценариях автоматического масштабирования кластера, непредвиденных сценариях сбоя сервера и пытается поддерживать идеальное распределение как можно больше.

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

Параметры

name
String

Имя.

options
LeaseBasedQueueBalancerOptions

Параметры.

leaseProvider
ILeaseProvider

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

services
IServiceProvider

Службы.

loggerFactory
ILoggerFactory

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

timeProvider
TimeProvider

Комментарии

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

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

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

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