Partager via


ServiceCorrelationScheme Enumeration

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Indicates that this service is associated with another service, and describes the relationship with that service.

Namespace:   System.Fabric.Description
Assembly:  System.Fabric (in System.Fabric.dll)

Syntax

public enum ServiceCorrelationScheme

Members

Member name Description
Affinity

Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options.

AlignedAffinity

Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the “Affinity” scheme.

Invalid

An invalid correlation scheme. Cannot be used.

NonAlignedAffinity

Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated.

See Also

System.Fabric.Description Namespace

Return to top