Share via


SiloPersistentStreamConfigurator 類別

定義

public class SiloPersistentStreamConfigurator : Orleans.Streams.ISiloPersistentStreamConfigurator
type SiloPersistentStreamConfigurator = class
    interface ISiloPersistentStreamConfigurator
Public Class SiloPersistentStreamConfigurator
Implements ISiloPersistentStreamConfigurator
繼承
SiloPersistentStreamConfigurator
衍生
實作

建構函式

SiloPersistentStreamConfigurator(String, Action<Action<IServiceCollection>>, Func<IServiceProvider,String,IQueueAdapterFactory>)

欄位

configureDelegate
name

方法

Configure<TOptions>(Action<OptionsBuilder<TOptions>>)
ConfigureComponent<TComponent>(Func<IServiceProvider,String,TComponent>)
ConfigureComponent<TOptions,TComponent>(Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>)
TryConfigureDefaults()

擴充方法

UseAzureDeploymentLeaseBasedBalancer(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>)

使用 Azure 部署資訊進行負載平衡的串流佇列平衡器。 需要在 Azure 中執行的定址接收器。 此平衡器支援叢集自動調整案例中的佇列平衡、非預期的伺服器失敗案例,並嘗試支援理想的散發

UseClusterConfigDeploymentLeaseBasedBalancer(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>)
UseConsistentRingQueueBalancer(ISiloPersistentStreamConfigurator)
UseDynamicAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

使用來自成員資格 Oracle 的 Azure 部署資訊和接收器狀態進行負載平衡的串流佇列平衡器。
需要在 Azure 中執行的定址接收器。 此 Balancer 會使用 Azure 角色程式碼所報告的完整接收器集相關資訊,以及來自成員資格 oracle 中目前作用中 (作用中) 接收器的資訊,以及從非作用中定址接收器重新平衡佇列的資訊。

UseDynamicClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)
UseStaticAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

使用 Azure 部署資訊進行負載平衡的串流佇列平衡器。 需要在 Azure 中執行的定址接收器。 此 Balancer 會使用 Azure 角色程式碼所報告之完整接收器集的相關資訊,但不會使用來自成員資格 Oracle 中目前作用中接收器的資訊。 也就是說,它不會根據叢集成員資格中的動態變更重新平衡佇列。

UseStaticClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)
ConfigureLifecycle(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamLifecycleOptions>>)
ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)
ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)
ConfigurePullingAgent(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamPullingAgentOptions>>)
ConfigureStreamPubSub(ISiloPersistentStreamConfigurator, StreamPubSubType)

適用於