Show / Hide Table of Contents

Class StatelessWorkerAttribute

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.

Inheritance
System.Object
PlacementAttribute
StatelessWorkerAttribute
Inherited Members
PlacementAttribute.PlacementStrategy
Namespace: Orleans.Concurrency
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class StatelessWorkerAttribute : PlacementAttribute

Constructors

| Improve this Doc View Source

StatelessWorkerAttribute()

Declaration
public StatelessWorkerAttribute()
| Improve this Doc View Source

StatelessWorkerAttribute(Int32)

Declaration
public StatelessWorkerAttribute(int maxLocalWorkers)
Parameters
Type Name Description
System.Int32 maxLocalWorkers

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX