LoadShedQueueFlowController.CreateAsPercentageOfCPU メソッド

定義

オーバーロード

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

CreateAsPercentageOfCPU(Int32, Func<NodeConfiguration>)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions, IEnvironmentStatisticsProvider)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions, IHostEnvironmentStatistics)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions)

ソース:
LoadShedQueueFlowController.cs

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

public static Orleans.Streams.IQueueFlowController CreateAsPercentageOfCPU (int loadSheddingLimit, Orleans.Configuration.LoadSheddingOptions options);
static member CreateAsPercentageOfCPU : int * Orleans.Configuration.LoadSheddingOptions -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentageOfCPU (loadSheddingLimit As Integer, options As LoadSheddingOptions) As IQueueFlowController

パラメーター

loadSheddingLimit
Int32

キューの読み取り速度の低下をトリガーする CPU の割合

options
LoadSheddingOptions

サイロ統計オプション。

戻り値

適用対象

CreateAsPercentageOfCPU(Int32, Func<NodeConfiguration>)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

public static Orleans.Streams.IQueueFlowController CreateAsPercentageOfCPU (int loadSheddingLimit, Func<Orleans.Runtime.Configuration.NodeConfiguration> getNodeConfig);
static member CreateAsPercentageOfCPU : int * Func<Orleans.Runtime.Configuration.NodeConfiguration> -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentageOfCPU (loadSheddingLimit As Integer, getNodeConfig As Func(Of NodeConfiguration)) As IQueueFlowController

パラメーター

loadSheddingLimit
Int32

キューの読み取り速度の低下をトリガーする CPU の割合

getNodeConfig
Func<NodeConfiguration>

現在のノード構成を取得するために使用されるメソッド。

戻り値

適用対象

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions, IEnvironmentStatisticsProvider)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

public static Orleans.Streams.IQueueFlowController CreateAsPercentageOfCPU (int loadSheddingLimit, Orleans.Configuration.LoadSheddingOptions options, Orleans.Statistics.IEnvironmentStatisticsProvider environmentStatisticsProvider);
static member CreateAsPercentageOfCPU : int * Orleans.Configuration.LoadSheddingOptions * Orleans.Statistics.IEnvironmentStatisticsProvider -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentageOfCPU (loadSheddingLimit As Integer, options As LoadSheddingOptions, environmentStatisticsProvider As IEnvironmentStatisticsProvider) As IQueueFlowController

パラメーター

loadSheddingLimit
Int32

キューの読み取り速度の低下をトリガーする CPU の割合

options
LoadSheddingOptions

サイロ統計オプション。

environmentStatisticsProvider
IEnvironmentStatisticsProvider

サイロ環境の統計。

戻り値

フロー コントローラー。

適用対象

CreateAsPercentageOfCPU(Int32, LoadSheddingOptions, IHostEnvironmentStatistics)

CPU が指定した制限に達したときにトリガーされるフロー コントローラーを作成します。 注: ロード・シェディングが有効になっている場合にのみトリガーされます。

public static Orleans.Streams.IQueueFlowController CreateAsPercentageOfCPU (int loadSheddingLimit, Orleans.Configuration.LoadSheddingOptions options, Orleans.Statistics.IHostEnvironmentStatistics hostEnvironmentStatistics);
static member CreateAsPercentageOfCPU : int * Orleans.Configuration.LoadSheddingOptions * Orleans.Statistics.IHostEnvironmentStatistics -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentageOfCPU (loadSheddingLimit As Integer, options As LoadSheddingOptions, hostEnvironmentStatistics As IHostEnvironmentStatistics) As IQueueFlowController

パラメーター

loadSheddingLimit
Int32

キューの読み取り速度の低下をトリガーする CPU の割合

options
LoadSheddingOptions

サイロ統計オプション。

hostEnvironmentStatistics
IHostEnvironmentStatistics

ホスト環境の統計情報。

戻り値

フロー コントローラー。

適用対象