PreferredMatchSiloMetadataPlacementFilterAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute to specify the preferred match silo metadata placement filter that preferentially filters down to silos where the metadata matches the local (calling) silo metadata.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class PreferredMatchSiloMetadataPlacementFilterAttribute : Orleans.Placement.PlacementFilterAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PreferredMatchSiloMetadataPlacementFilterAttribute = class
inherit PlacementFilterAttribute
Public Class PreferredMatchSiloMetadataPlacementFilterAttribute
Inherits PlacementFilterAttribute
- Inheritance
- Attributes
Remarks
Example: If keys ["first","second"] are specified, then it will attempt to return only silos where both keys match the local silo's metadata values. If there are not sufficient silos matching both, then it will also include silos matching only the second key. Finally, if there are still fewer than minCandidates results then it will include all silos.
Constructors
| Name | Description |
|---|---|
| PreferredMatchSiloMetadataPlacementFilterAttribute(String[], Int32, Int32) |
Attribute to specify the preferred match silo metadata placement filter that preferentially filters down to silos where the metadata matches the local (calling) silo metadata. |
Properties
| Name | Description |
|---|---|
| PlacementFilterStrategy |
Gets the placement filter strategy. (Inherited from PlacementFilterAttribute) |
Methods
| Name | Description |
|---|---|
| Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>) |
Adds grain properties to |