StatelessWorkerAttribute Class
Definition
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 StatelessWorker attribute is used to mark grain class in which there is no expectation of preservation of grain state between requests and where multiple activations of the same grain are allowed to be created by the runtime.
[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
- Inheritance
-
StatelessWorkerAttribute
- Inheritance
- Attributes
- Implements
Constructors
StatelessWorkerAttribute() |
Initializes a new instance of the StatelessWorkerAttribute class. |
StatelessWorkerAttribute(Int32) |
Initializes a new instance of the StatelessWorkerAttribute class. |
Properties
MaxLocalWorkers |
Maximal number of local StatelessWorkers in a single silo. |
PlacementStrategy | (Inherited from PlacementAttribute) |
Methods
Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>) |
Adds grain properties to |
Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>) |
Adds grain properties to |