Share via


ISiloPersistentStreamConfigurator 介面

定義

public interface ISiloPersistentStreamConfigurator
type ISiloPersistentStreamConfigurator = interface
Public Interface ISiloPersistentStreamConfigurator
衍生

方法

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

擴充方法

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

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

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

串流佇列平衡器,使用來自 Membership 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)

適用於