Skip to content

PlacementStrategy

class

Namespace: Orleans.Runtime

The base type for all placement strategies.
public abstract class PlacementStrategy

Remarks

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

  • IsUsingGrainDirectory Gets a value indicating whether or not this placement strategy requires activations to be registered in the grain directory.

Methods