IManagementGrain.UpdateStreamProviders Method

Definition

Update the stream providers dynamically. The stream providers in the listed silos will be updated based on the differences between its loaded stream providers and the list of providers in the streamProviderConfigurations: If a provider in the configuration object already exists in the silo, it will be kept as is; if a provider in the configuration object does not exist in the silo, it will be loaded and started; if a provider that exists in silo but is not in the configuration object, it will be stopped and removed from the silo.

public System.Threading.Tasks.Task UpdateStreamProviders (Orleans.Runtime.SiloAddress[] hostIds, System.Collections.Generic.IDictionary<string,Orleans.Runtime.Configuration.ProviderCategoryConfiguration> streamProviderConfigurations);
abstract member UpdateStreamProviders : Orleans.Runtime.SiloAddress[] * System.Collections.Generic.IDictionary<string, Orleans.Runtime.Configuration.ProviderCategoryConfiguration> -> System.Threading.Tasks.Task
Public Function UpdateStreamProviders (hostIds As SiloAddress(), streamProviderConfigurations As IDictionary(Of String, ProviderCategoryConfiguration)) As Task

Parameters

hostIds
SiloAddress[]

Silos to update, or null for all silos

streamProviderConfigurations
IDictionary<String,ProviderCategoryConfiguration>

stream provider configurations that carries target stream providers

Returns

Applies to