PreferLocalPlacementAttribute
class
Namespace: Orleans.Placement
Marks a grain class as using the
PreferLocalPlacement policy. public sealed class PreferLocalPlacementAttribute : PlacementAttributeRemarks
If the host is not compatible with the grain type or if a grain receives an incompatible request, the grain will be placed on a random, compatible server.
Constructors
PreferLocalPlacementAttributeInitializes a new instance of thePreferLocalPlacementAttributeclass.
