ActivationCountBasedPlacementAttribute 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.
Marks a grain class as using the ActivationCountBasedPlacement policy, which attempts to balance grain placement across servers based upon the relative number of recently active grains on each one.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class ActivationCountBasedPlacementAttribute : Orleans.Placement.PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type ActivationCountBasedPlacementAttribute = class
inherit PlacementAttribute
Public NotInheritable Class ActivationCountBasedPlacementAttribute
Inherits PlacementAttribute
- Inheritance
- Attributes
Remarks
See the documentation for for more information.
Constructors
ActivationCountBasedPlacementAttribute() |
Initializes a new instance of the ActivationCountBasedPlacementAttribute class. |
Properties
PlacementStrategy | (Inherited from PlacementAttribute) |
Methods
Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>) |
Adds grain properties to |