HashBasedPlacement Class

Definition

Places activations on compatible silos by hashing the grain identifier using a stable hash and selecting a silo from a sorted set using a modulo operation.

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

Constructors

HashBasedPlacement()

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

Equals(Object)
GetHashCode()
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