Edytuj

Udostępnij za pośrednictwem


ReentrantAttribute Class

Definition

The Reentrant attribute is used to mark grain implementation classes that allow request interleaving within a task.

This is an advanced feature and should not be used unless the implications are fully understood. That said, allowing request interleaving allows the run-time system to perform a number of optimizations that may significantly improve the performance of your application.

[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
Inheritance
ReentrantAttribute
Attributes
Implements

Constructors

ReentrantAttribute()

Methods

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

Adds grain properties to properties.

Applies to