LoadShedQueueFlowController.CreateAsPercentOfLoadSheddingLimit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, Int32) |
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled. |
CreateAsPercentOfLoadSheddingLimit(Func<NodeConfiguration>, Int32) |
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled. |
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, IEnvironmentStatisticsProvider, Int32) |
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled. |
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, IHostEnvironmentStatistics, Int32) |
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled. |
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, Int32)
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled.
public static Orleans.Streams.IQueueFlowController CreateAsPercentOfLoadSheddingLimit (Orleans.Configuration.LoadSheddingOptions options, int percentOfSiloSheddingLimit = 95);
static member CreateAsPercentOfLoadSheddingLimit : Orleans.Configuration.LoadSheddingOptions * int -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentOfLoadSheddingLimit (options As LoadSheddingOptions, Optional percentOfSiloSheddingLimit As Integer = 95) As IQueueFlowController
Parameters
- options
- LoadSheddingOptions
The silo statistics options.
- percentOfSiloSheddingLimit
- Int32
Percentage of load shed limit which triggers a reduction of queue read rate.
Returns
Applies to
CreateAsPercentOfLoadSheddingLimit(Func<NodeConfiguration>, Int32)
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled.
public static Orleans.Streams.IQueueFlowController CreateAsPercentOfLoadSheddingLimit (Func<Orleans.Runtime.Configuration.NodeConfiguration> getNodeConfig, int percentOfSiloSheddingLimit = 95);
static member CreateAsPercentOfLoadSheddingLimit : Func<Orleans.Runtime.Configuration.NodeConfiguration> * int -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentOfLoadSheddingLimit (getNodeConfig As Func(Of NodeConfiguration), Optional percentOfSiloSheddingLimit As Integer = 95) As IQueueFlowController
Parameters
- getNodeConfig
- Func<NodeConfiguration>
The method used to get the current node configuration.
- percentOfSiloSheddingLimit
- Int32
Percentage of load shed limit which triggers a reduction of queue read rate.
Returns
Applies to
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, IEnvironmentStatisticsProvider, Int32)
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled.
public static Orleans.Streams.IQueueFlowController CreateAsPercentOfLoadSheddingLimit (Orleans.Configuration.LoadSheddingOptions options, Orleans.Statistics.IEnvironmentStatisticsProvider environmentStatisticsProvider, int percentOfSiloSheddingLimit = 95);
static member CreateAsPercentOfLoadSheddingLimit : Orleans.Configuration.LoadSheddingOptions * Orleans.Statistics.IEnvironmentStatisticsProvider * int -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentOfLoadSheddingLimit (options As LoadSheddingOptions, environmentStatisticsProvider As IEnvironmentStatisticsProvider, Optional percentOfSiloSheddingLimit As Integer = 95) As IQueueFlowController
Parameters
- options
- LoadSheddingOptions
The silo statistics options.
- environmentStatisticsProvider
- IEnvironmentStatisticsProvider
The silo environment statistics.
- percentOfSiloSheddingLimit
- Int32
Percentage of load shed limit which triggers a reduction of queue read rate.
Returns
The flow controller.
Applies to
CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, IHostEnvironmentStatistics, Int32)
Creates a flow controller triggered when the CPU reaches a percentage of the cluster load shedding limit. This is intended to reduce queue read rate prior to causing the silo to shed load. Note: Triggered only when load shedding is enabled.
public static Orleans.Streams.IQueueFlowController CreateAsPercentOfLoadSheddingLimit (Orleans.Configuration.LoadSheddingOptions options, Orleans.Statistics.IHostEnvironmentStatistics hostEnvironmentStatistics, int percentOfSiloSheddingLimit = 95);
static member CreateAsPercentOfLoadSheddingLimit : Orleans.Configuration.LoadSheddingOptions * Orleans.Statistics.IHostEnvironmentStatistics * int -> Orleans.Streams.IQueueFlowController
Public Shared Function CreateAsPercentOfLoadSheddingLimit (options As LoadSheddingOptions, hostEnvironmentStatistics As IHostEnvironmentStatistics, Optional percentOfSiloSheddingLimit As Integer = 95) As IQueueFlowController
Parameters
- options
- LoadSheddingOptions
The silo statistics options.
- hostEnvironmentStatistics
- IHostEnvironmentStatistics
The host environment statistics.
- percentOfSiloSheddingLimit
- Int32
Percentage of load shed limit which triggers a reduction of queue read rate.
Returns
The flow controller.