AddRemoveIncrementalNamedPartitionScalingMechanism Class

Definition

Represents a scaling mechanism for adding or removing named partitions of a service. When this mechanism is used there will be new named partitions added or removed from this service. The expected schema of named partitions is "0","1",..."N-1" when N partitions are needed. Should be used with AverageServiceLoadScalingTrigger.

public class AddRemoveIncrementalNamedPartitionScalingMechanism : System.Fabric.Description.ScalingMechanismDescription
type AddRemoveIncrementalNamedPartitionScalingMechanism = class
    inherit ScalingMechanismDescription
Public Class AddRemoveIncrementalNamedPartitionScalingMechanism
Inherits ScalingMechanismDescription
Inheritance
AddRemoveIncrementalNamedPartitionScalingMechanism

Constructors

AddRemoveIncrementalNamedPartitionScalingMechanism()

Initializes a new instance of the AddRemoveIncrementalNamedPartitionScalingMechanism class of a particular kind.

Properties

Kind

Gets the kind of the scaling mechanism.

(Inherited from ScalingMechanismDescription)
MaxPartitionCount

Gets or sets the maximum number of partitions which the service should have according to this scaling policy.

MinPartitionCount

Gets or sets the minimum number of partitions which the service should have according to this scaling policy.

ScaleIncrement

Gets or sets the amount of partitions that should be added/removed when scaling is performed.

Methods

ToString()

Returns a string representation of the AddRemoveIncrementalNamedPartitionScalingMechanism.

Applies to