LeaseBasedQueueBalancer Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, ITimerRegistry, IServiceProvider, ILoggerFactory) |
Initialise une nouvelle instance de la classe LeaseBasedQueueBalancer. |
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, IServiceProvider, ILoggerFactory, TimeProvider) |
LeaseBasedQueueBalancer. Cet équilibreur prend en charge l’équilibrage de file d’attente dans les scénarios de mise à l’échelle automatique du cluster, les scénarios d’échec de serveur inattendus et tente de prendre en charge la distribution idéale autant que possible. |
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, IServiceProvider, ISiloStatusOracle, IDeploymentConfiguration, ILoggerFactory) |
Constructeur |
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, ITimerRegistry, IServiceProvider, ILoggerFactory)
- Source:
- LeaseBasedQueueBalancer.cs
Initialise une nouvelle instance de la 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)
Paramètres
- name
- String
Nom.
- options
- LeaseBasedQueueBalancerOptions
Options.
- leaseProvider
- ILeaseProvider
Fournisseur de baux.
- timerRegistry
- ITimerRegistry
Registre du minuteur.
- services
- IServiceProvider
Les services.
- loggerFactory
- ILoggerFactory
Fabrique d’enregistreurs d’événements.
S’applique à
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, ILeaseProvider, IServiceProvider, ILoggerFactory, TimeProvider)
LeaseBasedQueueBalancer. Cet équilibreur prend en charge l’équilibrage de file d’attente dans les scénarios de mise à l’échelle automatique du cluster, les scénarios d’échec de serveur inattendus et tente de prendre en charge la distribution idéale autant que possible.
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)
Paramètres
- name
- String
Nom.
- options
- LeaseBasedQueueBalancerOptions
Options.
- leaseProvider
- ILeaseProvider
Fournisseur de baux.
- services
- IServiceProvider
Les services.
- loggerFactory
- ILoggerFactory
Fabrique d’enregistreurs d’événements.
- timeProvider
- TimeProvider
Remarques
Initialise une nouvelle instance de la classe LeaseBasedQueueBalancer.
S’applique à
LeaseBasedQueueBalancer(String, LeaseBasedQueueBalancerOptions, IServiceProvider, ISiloStatusOracle, IDeploymentConfiguration, ILoggerFactory)
Constructeur
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)
Paramètres
- name
- String
- options
- LeaseBasedQueueBalancerOptions
- serviceProvider
- IServiceProvider
- siloStatusOracle
- ISiloStatusOracle
- deploymentConfig
- IDeploymentConfiguration
- loggerFactory
- ILoggerFactory