Share via


SiloRecoverableStreamConfigurator 類別

定義

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

建構函式

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

欄位

configureDelegate (繼承來源 SiloPersistentStreamConfigurator)
name (繼承來源 SiloPersistentStreamConfigurator)

方法

Configure<TOptions>(Action<OptionsBuilder<TOptions>>) (繼承來源 SiloPersistentStreamConfigurator)
ConfigureComponent<TComponent>(Func<IServiceProvider,String,TComponent>) (繼承來源 SiloPersistentStreamConfigurator)
ConfigureComponent<TOptions,TComponent>(Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>) (繼承來源 SiloPersistentStreamConfigurator)
TryConfigureDefaults() (繼承來源 SiloPersistentStreamConfigurator)

擴充方法

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)
ConfigureCacheEviction(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamCacheEvictionOptions>>)
ConfigureStatistics(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamStatisticOptions>>)

適用於