共用方式為


SiloMemoryStreamConfigurator<TSerializer> 類別

定義

設定記憶體數據流。

public class SiloMemoryStreamConfigurator<TSerializer> : Orleans.Hosting.SiloRecoverableStreamConfigurator, Orleans.Hosting.IPersistentStreamConfigurator, Orleans.Hosting.ISiloMemoryStreamConfigurator where TSerializer : class, IMemoryMessageBodySerializer
public class SiloMemoryStreamConfigurator<TSerializer> : Orleans.Hosting.SiloRecoverableStreamConfigurator, Orleans.Hosting.ISiloMemoryStreamConfigurator where TSerializer : class, IMemoryMessageBodySerializer
type SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> IMemoryMessageBodySerializer)> = class
    inherit SiloRecoverableStreamConfigurator
    interface ISiloMemoryStreamConfigurator
    interface IMemoryStreamConfigurator
    interface INamedServiceConfigurator
    interface ISiloRecoverableStreamConfigurator
    interface ISiloPersistentStreamConfigurator
    interface IPersistentStreamConfigurator
Public Class SiloMemoryStreamConfigurator(Of TSerializer)
Inherits SiloRecoverableStreamConfigurator
Implements IPersistentStreamConfigurator, ISiloMemoryStreamConfigurator
Public Class SiloMemoryStreamConfigurator(Of TSerializer)
Inherits SiloRecoverableStreamConfigurator
Implements ISiloMemoryStreamConfigurator

類型參數

TSerializer

訊息本文串行化程式類型,必須實作 IMemoryMessageBodySerializer

繼承
實作

建構函式

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

初始化 SiloMemoryStreamConfigurator<TSerializer> 類別的新實例。

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

設定記憶體數據流。

屬性

ConfigureDelegate

取得用來設定服務的委派。

(繼承來源 NamedServiceConfigurator)
Name

取得服務名稱。

(繼承來源 NamedServiceConfigurator)

擴充方法

ConfigurePartitioning(IMemoryStreamConfigurator, Int32)

設定記憶體數據流的數據分割。

Configure<TOptions>(INamedServiceConfigurator, Action<OptionsBuilder<TOptions>>)

設定具名服務的選項。

ConfigureComponent<TComponent>(INamedServiceConfigurator, Func<IServiceProvider,String,TComponent>)

將單一元件新增至具名服務。

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

將單一元件新增至具名服務,並設定具名服務的選項。

ConfigureLifecycle<T>(INamedServiceConfigurator)

設定記憶體數據流。

ConfigureStreamPubSub(IPersistentStreamConfigurator, StreamPubSubType)

設定數據流發行/子類型。

UseAzureBlobLeaseProvider(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<AzureBlobLeaseProviderOptions>>)

設定尋址接收器以使用 Azure Blob 租用提供者

UseConsistentRingQueueBalancer(ISiloPersistentStreamConfigurator)

設定數據流提供者以使用一致的通道佇列平衡器。

UseDynamicAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

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

UseDynamicClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

設定數據流提供者以使用動態叢集組態部署平衡器。

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

設定數據流提供者以使用租用型佇列平衡器。

UseStaticAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

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

UseStaticClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

設定數據流提供者以使用靜態叢集組態部署平衡器。

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IMessageDeliveryBackoffProvider>)

設定提取代理程式的訊息傳遞輪詢提供者。

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IQueueReaderBackoffProvider>)

設定提取代理程式的佇列讀取器輪詢提供者。

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>>)

設定提取代理程式。

ConfigureCacheEviction(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamCacheEvictionOptions>>)

設定可靠數據流提供者的快取收回選項。

ConfigureStatistics(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamStatisticOptions>>)

設定可靠數據流提供者的統計數據選項。

適用於