ActivationRepartitioningExtensions.AddActivationRepartitioner 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddActivationRepartitioner(ISiloBuilder) |
啟用此尋址接收器的啟用重新分割。 |
AddActivationRepartitioner<TRule>(ISiloBuilder) |
啟用此尋址接收器的啟用重新分割。 |
AddActivationRepartitioner(ISiloBuilder)
啟用此尋址接收器的啟用重新分割。
public static Orleans.Hosting.ISiloBuilder AddActivationRepartitioner (this Orleans.Hosting.ISiloBuilder builder);
static member AddActivationRepartitioner : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddActivationRepartitioner (builder As ISiloBuilder) As ISiloBuilder
參數
- builder
- ISiloBuilder
傳回
備註
啟用重新分割嘗試藉由共置經常通訊的啟用來優化粒紋呼叫位置,同時讓每個尋址接收器上的啟用數目大致相等。
適用於
AddActivationRepartitioner<TRule>(ISiloBuilder)
啟用此尋址接收器的啟用重新分割。
public static Orleans.Hosting.ISiloBuilder AddActivationRepartitioner<TRule> (this Orleans.Hosting.ISiloBuilder builder) where TRule : class, Orleans.Placement.Repartitioning.IImbalanceToleranceRule;
static member AddActivationRepartitioner : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'Rule : null and 'Rule :> Orleans.Placement.Repartitioning.IImbalanceToleranceRule)
<Extension()>
Public Function AddActivationRepartitioner(Of TRule As {Class, IImbalanceToleranceRule}) (builder As ISiloBuilder) As ISiloBuilder
類型參數
- TRule
要使用的不平衡規則類型。
參數
- builder
- ISiloBuilder
傳回
備註
啟用重新分割嘗試藉由共置經常通訊的啟用來優化粒紋呼叫位置,同時讓每個尋址接收器上的啟用數目大致相等。