HashBasedPlacement Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |