PlacementStrategy
class
Namespace: Orleans.Runtime
The base type for all placement strategies.
public abstract class PlacementStrategyRemarks
Orleans uses a configurable placement system to decide which server to place a grain on. Placement directors are used to decide where a grain activation should be placed. Placement directors are associated with grains using a placement strategy. Grains indicate their preferred placement strategy using an attribute on the grain class.
Properties
IsUsingGrainDirectoryGets a value indicating whether or not this placement strategy requires activations to be registered in the grain directory.
Methods
Initialize(GrainProperties)Initializes an instance of this type using the provided grain properties.PopulateGrainProperties(IServiceProvider, Type, GrainType, Dictionary<string, string>)Populates grain properties to specify the preferred placement strategy.
