Share via


HashBasedPlacement 類別

定義

Places 兼容尋址接收器上的啟用,方法是使用穩定哈希來哈希粒度標識符,並使用模數作業從已排序的集合中選取尋址接收器。

[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
繼承
HashBasedPlacement
屬性

建構函式

HashBasedPlacement()

Places 兼容尋址接收器上的啟用,方法是使用穩定哈希來哈希粒度標識符,並使用模數作業從已排序的集合中選取尋址接收器。

屬性

IsUsingGrainDirectory

取得值,指出此放置策略是否需要在粒度目錄中註冊啟用。

(繼承來源 PlacementStrategy)

方法

Equals(Object)

Places 兼容尋址接收器上的啟用,方法是使用穩定哈希來哈希粒度標識符,並使用模數作業從已排序的集合中選取尋址接收器。

GetHashCode()

Places 兼容尋址接收器上的啟用,方法是使用穩定哈希來哈希粒度標識符,並使用模數作業從已排序的集合中選取尋址接收器。

Initialize(GrainProperties)

使用提供的粒度屬性,初始化此類型的實例。

(繼承來源 PlacementStrategy)
PopulateGrainProperties(IServiceProvider, Type, GrainType, Dictionary<String,String>)

填入粒度屬性,以指定慣用的位置策略。

(繼承來源 PlacementStrategy)

適用於