Condividi tramite


LeaseBasedQueueBalancer Costruttori

Definizione

Overload

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

Inizializza una nuova istanza della classe LeaseBasedQueueBalancer.

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

LeaseBasedQueueBalancer. Questo servizio di bilanciamento della coda supporta il bilanciamento della coda negli scenari di scalabilità automatica del cluster, scenari di errore imprevisti del server e tenta di supportare la distribuzione ideale il più possibile.

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

Costruttore

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

Origine:
LeaseBasedQueueBalancer.cs

Inizializza una nuova istanza della 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)

Parametri

name
String

Nome.

leaseProvider
ILeaseProvider

Provider di lease.

timerRegistry
ITimerRegistry

Registro di sistema timer.

services
IServiceProvider

Servizi.

loggerFactory
ILoggerFactory

Factory del logger.

Si applica a

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

LeaseBasedQueueBalancer. Questo servizio di bilanciamento della coda supporta il bilanciamento della coda negli scenari di scalabilità automatica del cluster, scenari di errore imprevisti del server e tenta di supportare la distribuzione ideale il più possibile.

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)

Parametri

name
String

Nome.

leaseProvider
ILeaseProvider

Provider di lease.

services
IServiceProvider

Servizi.

loggerFactory
ILoggerFactory

Factory del logger.

timeProvider
TimeProvider

Commenti

Inizializza una nuova istanza della classe LeaseBasedQueueBalancer.

Si applica a

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

Costruttore

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)

Parametri

name
String
serviceProvider
IServiceProvider
siloStatusOracle
ISiloStatusOracle
deploymentConfig
IDeploymentConfiguration
loggerFactory
ILoggerFactory

Si applica a