Share via


StatefulServiceLoadMetricDescription Class

Definition

Specifies a metric for a stateful service.

public sealed class StatefulServiceLoadMetricDescription : System.Fabric.Description.ServiceLoadMetricDescription
type StatefulServiceLoadMetricDescription = class
    inherit ServiceLoadMetricDescription
Public NotInheritable Class StatefulServiceLoadMetricDescription
Inherits ServiceLoadMetricDescription
Inheritance
StatefulServiceLoadMetricDescription

Constructors

StatefulServiceLoadMetricDescription()

Initializes a new instance of the StatefulServiceLoadMetricDescription class.

Properties

AuxiliaryDefaultLoad

Gets or sets the default amount of load that this service creates for this metric when it is an Auxiliary replica.

Name

Gets or sets the name of the metric.

(Inherited from ServiceLoadMetricDescription)
PrimaryDefaultLoad

Gets or sets the default amount of load that this service creates for this metric when it is a Primary replica.

SecondaryDefaultLoad

Gets or sets the default amount of load that this service creates for this metric when it is a Secondary replica.

Weight

Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.

(Inherited from ServiceLoadMetricDescription)

Methods

ToString()

Pretty print out details of StatefulServiceLoadMetricDescription.

ToString(Boolean)

Pretty print out details of StatefulServiceLoadMetricDescription or StatelessServiceLoadMetricDescription.

(Inherited from ServiceLoadMetricDescription)

Applies to