Compartilhar via


LeaseBasedQueueBalancer Construtores

Definição

Sobrecargas

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

Inicializa uma nova instância da classe LeaseBasedQueueBalancer.

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

LeaseBasedQueueBalancer. Esse balanceador dá suporte ao balanceamento de fila em cenários de dimensionamento automático de cluster, cenários inesperados de falha do servidor e tenta dar suporte à distribuição ideal o máximo possível.

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

Construtor

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

Origem:
LeaseBasedQueueBalancer.cs

Inicializa uma nova instância da classe 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)

Parâmetros

name
String

O nome.

options
LeaseBasedQueueBalancerOptions

As opções.

leaseProvider
ILeaseProvider

O provedor de concessão.

timerRegistry
ITimerRegistry

O registro do temporizador.

services
IServiceProvider

Os serviços.

loggerFactory
ILoggerFactory

A fábrica do agente.

Aplica-se a

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

LeaseBasedQueueBalancer. Esse balanceador dá suporte ao balanceamento de fila em cenários de dimensionamento automático de cluster, cenários inesperados de falha do servidor e tenta dar suporte à distribuição ideal o máximo possível.

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)

Parâmetros

name
String

O nome.

options
LeaseBasedQueueBalancerOptions

As opções.

leaseProvider
ILeaseProvider

O provedor de concessão.

services
IServiceProvider

Os serviços.

loggerFactory
ILoggerFactory

A fábrica do agente.

timeProvider
TimeProvider

Comentários

Inicializa uma nova instância da classe LeaseBasedQueueBalancer.

Aplica-se a

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

Construtor

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)

Parâmetros

name
String
serviceProvider
IServiceProvider
siloStatusOracle
ISiloStatusOracle
deploymentConfig
IDeploymentConfiguration
loggerFactory
ILoggerFactory

Aplica-se a