Skip to content

ReentrantAttribute Methods

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.

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

View source
public void Populate(IServiceProvider services, Type grainClass, GrainType grainType, Dictionary<string, string> properties)
Adds grain properties to properties.

Parameters

servicesIServiceProvider
The service provider.
grainClassType
The grain class.
grainTypeGrainType
The grain type id.
propertiesDictionary<string, string>
The properties collection which calls to this method should populate.