IManagementGrain.GetHosts(Boolean) Method
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.
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.