Edit

Share via


ActivationCountBasedPlacementAttribute Class

Definition

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
ActivationCountBasedPlacementAttribute
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 properties.

(Inherited from PlacementAttribute)

Applies to