IPlacementContext.GetCompatibleSilosWithVersions(PlacementTarget) 方法

定义

获取与提供的放置目标兼容的 silo 集合,以及每个服务器支持的 grain 接口的版本。

public System.Collections.Generic.IReadOnlyDictionary<ushort,System.Collections.Generic.IReadOnlyList<Orleans.Runtime.SiloAddress>> GetCompatibleSilosWithVersions (Orleans.Runtime.Placement.PlacementTarget target);
public System.Collections.Generic.IReadOnlyDictionary<ushort,Orleans.Runtime.SiloAddress[]> GetCompatibleSilosWithVersions (Orleans.Runtime.Placement.PlacementTarget target);
abstract member GetCompatibleSilosWithVersions : Orleans.Runtime.Placement.PlacementTarget -> System.Collections.Generic.IReadOnlyDictionary<uint16, System.Collections.Generic.IReadOnlyList<Orleans.Runtime.SiloAddress>>
abstract member GetCompatibleSilosWithVersions : Orleans.Runtime.Placement.PlacementTarget -> System.Collections.Generic.IReadOnlyDictionary<uint16, Orleans.Runtime.SiloAddress[]>
Public Function GetCompatibleSilosWithVersions (target As PlacementTarget) As IReadOnlyDictionary(Of UShort, IReadOnlyList(Of SiloAddress))
Public Function GetCompatibleSilosWithVersions (target As PlacementTarget) As IReadOnlyDictionary(Of UShort, SiloAddress())

参数

target
PlacementTarget

要放置的粒度的说明,以及有关触发放置的请求的上下文信息。

返回

与提供的放置目标兼容的 silo 集合,以及每个服务器支持的 grain 接口版本。

适用于