Edit

Share via


IManagementGrain.GetHosts(Boolean) Method

Definition

Get the list of silo hosts and statuses currently known about in this cluster.

public System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<Orleans.Runtime.SiloAddress,Orleans.Runtime.SiloStatus>> GetHosts (bool onlyActive = false);
abstract member GetHosts : bool -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<Orleans.Runtime.SiloAddress, Orleans.Runtime.SiloStatus>>
Public Function GetHosts (Optional onlyActive As Boolean = false) As Task(Of Dictionary(Of SiloAddress, SiloStatus))

Parameters

onlyActive
Boolean

Whether data on just current active silos should be returned, or by default data for all current and previous silo instances [including those in Joining or Dead status].

Returns

The hosts and their corresponding statuses.

Applies to