Edytuj

Udostępnij za pośrednictwem


IPlacementContext.GetCompatibleSilosWithVersions(PlacementTarget) Method

Definition

Gets the collection of silos which are compatible with the provided placement target, along with the versions of the grain interface which each server supports.

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())

Parameters

target
PlacementTarget

A description of the grain being placed as well as contextual information about the request which is triggering placement.

Returns

The collection of silos which are compatible with the provided placement target, along with the versions of the grain interface which each server supports.

Applies to