RandomPlacement Class

Definition

The random placement strategy specifies that new activations of a grain should be placed on a random, compatible server.

[System.Serializable]
public class RandomPlacement : Orleans.Runtime.PlacementStrategy
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.SuppressReferenceTracking]
public sealed class RandomPlacement : Orleans.Runtime.PlacementStrategy
[<System.Serializable>]
type RandomPlacement = class
    inherit PlacementStrategy
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<Orleans.SuppressReferenceTracking>]
type RandomPlacement = class
    inherit PlacementStrategy
Public Class RandomPlacement
Inherits PlacementStrategy
Public NotInheritable Class RandomPlacement
Inherits PlacementStrategy
Inheritance
RandomPlacement
Attributes

Constructors

RandomPlacement()

Properties

IsUsingGrainDirectory

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

(Inherited from PlacementStrategy)

Methods

Initialize(GrainProperties)

Initializes an instance of this type using the provided grain properties.

(Inherited from PlacementStrategy)
PopulateGrainProperties(IServiceProvider, Type, GrainType, Dictionary<String,String>)

Populates grain properties to specify the preferred placement strategy.

(Inherited from PlacementStrategy)

Applies to