CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions, IEnvironmentStatisticsProvider, int)
static
public static IQueueFlowController CreateAsPercentOfLoadSheddingLimit(LoadSheddingOptions options, IEnvironmentStatisticsProvider environmentStatisticsProvider, int percentOfSiloSheddingLimit = 95) 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.
Parameters
optionsLoadSheddingOptions- The silo statistics options.
environmentStatisticsProviderIEnvironmentStatisticsProvider- The silo environment statistics.
percentOfSiloSheddingLimitint- Percentage of load shed limit which triggers a reduction of queue read rate.
Returns
The flow controller.
