ActivationCountBasedPlacementAttribute 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 grain 类标记为使用 ActivationCountBasedPlacement 策略,该策略尝试根据每个服务器最近活动的粒度的相对数量来平衡服务器之间的粒度放置。
[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
- 继承
- 属性
有关更多信息,请参阅 的文档。
Placement |
将 grain 类标记为使用 ActivationCountBasedPlacement 策略,该策略尝试根据每个服务器最近活动的粒度的相对数量来平衡服务器之间的粒度放置。 (继承自 PlacementAttribute) |
Populate(IService |
将 grain 属性添加到 |