Share via


ReentrantAttribute クラス

定義

Reentrant 属性は、タスク内での要求インターリーブを許可するグレイン実装クラスをマークするために使用されます。

これは高度な機能であり、影響が完全に理解されていない限り使用しないでください。 つまり、要求インターリーブを許可すると、ランタイム システムは、アプリケーションのパフォーマンスを大幅に向上させる可能性のある多数の最適化を実行できます。

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

コンストラクター

ReentrantAttribute()

Reentrant 属性は、タスク内での要求インターリーブを許可するグレイン実装クラスをマークするために使用されます。

これは高度な機能であり、影響が完全に理解されていない限り使用しないでください。 つまり、要求インターリーブを許可すると、ランタイム システムは、アプリケーションのパフォーマンスを大幅に向上させる可能性のある多数の最適化を実行できます。

メソッド

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

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

適用対象