Orleans.Concurrency Namespace
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.
Always |
The AlwaysInterleaveAttribute attribute is used to mark methods that can interleave with any method, including write (non ReadOnly) requests. |
Immutable |
The Immutable attribute indicates that instances of the marked class or struct are never modified after they are created. |
Immutable |
Utility class to add the .AsImmutable method to all objects. |
Immutable |
Utility class to add the .AsImmutable method to all objects. |
May |
The MayInterleaveAttribute attribute is used to mark classes that want to control request interleaving via supplied method callback. |
One |
Indicates that a method on a grain interface is one-way and that no response message will be sent to the caller. |
Read |
The ReadOnly attribute is used to mark methods that do not modify the state of a grain. Marking methods as ReadOnly allows the run-time system to perform a number of optimizations that may significantly improve the performance of your application. |
Reentrant |
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. |
Stateless |
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. |
Unordered |
The Unordered attribute is used to mark grain interface in which the delivery order of messages is not significant. |
Immutable<T> |
Wrapper class for carrying immutable data. |