Delen via


ApplicationTypeHealthPolicyMap Class

Definition

Defines a map with max percentages unhealthy applications for specific application types.

public sealed class ApplicationTypeHealthPolicyMap : System.Collections.Generic.Dictionary<string,byte>
type ApplicationTypeHealthPolicyMap = class
    inherit Dictionary<string, byte>
Public NotInheritable Class ApplicationTypeHealthPolicyMap
Inherits Dictionary(Of String, Byte)
Inheritance
ApplicationTypeHealthPolicyMap

Remarks

The application type health policy map can be used during cluster health evaluation to describe special application types. The application types included in the map are evaluated against the percentage included in the map, and not with the global MaxPercentUnhealthyApplications. The applications of application types specified in the map are not counted against the global pool of applications.

Constructors

ApplicationTypeHealthPolicyMap()

Instantiates an ApplicationTypeHealthPolicyMap class.

Methods

Add(String, Byte)

Adds an entry in the map for a specific application type, with max percent unhealthy applications as value.

ToString()

Gets a string representation of the ApplicationTypeHealthPolicyMap.

Extension Methods

TryRemove<TKey,TValue>(Dictionary<TKey,TValue>, TKey, TValue)

Removes the value associated with specified key.

Applies to