Edit

Share via


LoadSheddingOptions Class

Definition

Options relating to load shedding.

public class LoadSheddingOptions
type LoadSheddingOptions = class
Public Class LoadSheddingOptions
Inheritance
LoadSheddingOptions

Constructors

LoadSheddingOptions()

Fields

DEFAULT_LOAD_SHEDDING_LIMIT

Properties

CpuThreshold

Gets or sets the CPU utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.

LoadSheddingEnabled

Gets or sets a value indicating whether load shedding in the client gateway and stream providers is enabled. The default value is false, meaning that load shedding is disabled.

LoadSheddingLimit
Obsolete.

Gets or sets the CPU utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.

MemoryThreshold

Gets or sets the memory utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.

Applies to