Compartir a través de


LeaseBasedQueueBalancer Constructores

Definición

Sobrecargas

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

Inicializa una nueva instancia de la clase LeaseBasedQueueBalancer.

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

LeaseBasedQueueBalancer. Este equilibrador admite el equilibrio de colas en escenarios de escalado automático del clúster, escenarios inesperados de errores de servidor e intenta admitir la distribución ideal tanto como sea posible.

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

Constructor

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

Source:
LeaseBasedQueueBalancer.cs

Inicializa una nueva instancia de la clase 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

Nombre.

options
LeaseBasedQueueBalancerOptions

Las opciones.

leaseProvider
ILeaseProvider

Proveedor de concesión.

timerRegistry
ITimerRegistry

Registro del temporizador.

services
IServiceProvider

Los servicios.

loggerFactory
ILoggerFactory

Fábrica del registrador.

Se aplica a

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

LeaseBasedQueueBalancer. Este equilibrador admite el equilibrio de colas en escenarios de escalado automático del clúster, escenarios inesperados de errores de servidor e intenta admitir la distribución ideal tanto como sea posible.

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

Nombre.

options
LeaseBasedQueueBalancerOptions

Las opciones.

leaseProvider
ILeaseProvider

Proveedor de concesión.

services
IServiceProvider

Los servicios.

loggerFactory
ILoggerFactory

Fábrica del registrador.

timeProvider
TimeProvider

Comentarios

Inicializa una nueva instancia de la clase LeaseBasedQueueBalancer.

Se aplica a

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

Constructor

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

Se aplica a