Share via


SiloMemoryStreamConfigurator<TSerializer> 類別

定義

public class SiloMemoryStreamConfigurator<TSerializer> : Orleans.Streams.SiloRecoverableStreamConfigurator where TSerializer : class, IMemoryMessageBodySerializer
type SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> IMemoryMessageBodySerializer)> = class
    inherit SiloRecoverableStreamConfigurator
Public Class SiloMemoryStreamConfigurator(Of TSerializer)
Inherits SiloRecoverableStreamConfigurator

類型參數

TSerializer
繼承

建構函式

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)

欄位

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)
ConfigurePartitioning(Int32)
TryConfigureDefaults() (繼承來源 SiloPersistentStreamConfigurator)

擴充方法

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

適用於