Redagować

Udostępnij przez


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.

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

Constructors

Name Description
SiloRoleBasedPlacement()

Properties

Name Description
IsUsingGrainDirectory

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

(Inherited from PlacementStrategy)

Methods

Name Description
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