Redigera

Dela via


SiloRoleBasedPlacement Class

Definition

The silo role placement strategy specifies that a grain should be placed on a compatible silo which has the role specified by the strategy's placement attribute.

[System.Serializable]
public class SiloRoleBasedPlacement : Orleans.Runtime.PlacementStrategy
[<System.Serializable>]
type SiloRoleBasedPlacement = class
    inherit PlacementStrategy
Public Class SiloRoleBasedPlacement
Inherits PlacementStrategy
Inheritance
SiloRoleBasedPlacement
Attributes

Constructors

SiloRoleBasedPlacement()

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