Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ReentrantAttribute Class

Definition

Namespace:
Orleans.Concurrency
Assembly:
Orleans.dll
Assembly:
Orleans.Core.Abstractions.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core.Abstractions v10.0.0
Package:
Microsoft.Orleans.Core.Abstractions v2.4.5
Package:
Microsoft.Orleans.Core.Abstractions v3.6.5
Package:
Microsoft.Orleans.Core.Abstractions v7.2.5
Package:
Microsoft.Orleans.Core.Abstractions v8.0.0
Package:
Microsoft.Orleans.Core.Abstractions v8.1.0
Package:
Microsoft.Orleans.Core.Abstractions v8.2.0
Package:
Microsoft.Orleans.Core.Abstractions v9.0.0
Package:
Microsoft.Orleans.Core.Abstractions v9.1.2
Source:
GrainAttributeConcurrency.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
ReentrantAttribute()

Methods

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

Adds grain properties to properties.

Applies to