Share via


StatelessWorkerAttribute クラス

定義

StatelessWorker 属性は、要求間のグレイン状態の保持が想定されておらず、同じグレインの複数のアクティブ化がランタイムによって作成されるグレイン クラスをマークするために使用されます。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class StatelessWorkerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class StatelessWorkerAttribute : Orleans.Placement.PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit PlacementAttribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class StatelessWorkerAttribute
Inherits Attribute
Public NotInheritable Class StatelessWorkerAttribute
Inherits PlacementAttribute
継承
StatelessWorkerAttribute
継承
StatelessWorkerAttribute
属性
実装

コンストラクター

StatelessWorkerAttribute()

StatelessWorkerAttribute クラスの新しいインスタンスを初期化します。

StatelessWorkerAttribute(Int32)

StatelessWorkerAttribute クラスの新しいインスタンスを初期化します。

プロパティ

MaxLocalWorkers

1 つのサイロ内のローカル StatelessWorkers の最大数。

PlacementStrategy

StatelessWorker 属性は、要求間のグレイン状態の保持が想定されておらず、同じグレインの複数のアクティブ化がランタイムによって作成されるグレイン クラスをマークするために使用されます。

(継承元 PlacementAttribute)

メソッド

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

グレイン プロパティを に properties追加します。

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

グレイン プロパティを に properties追加します。

(継承元 PlacementAttribute)

適用対象