Edytuj

Udostępnij za pośrednictwem


IManagementGrain.InjectMultiClusterConfiguration Method

Definition

Configure the active multi-cluster, by injecting a multicluster configuration.

public System.Threading.Tasks.Task<Orleans.MultiCluster.MultiClusterConfiguration> InjectMultiClusterConfiguration (System.Collections.Generic.IEnumerable<string> clusters, string comment = "", bool checkForLaggingSilosFirst = true);
abstract member InjectMultiClusterConfiguration : seq<string> * string * bool -> System.Threading.Tasks.Task<Orleans.MultiCluster.MultiClusterConfiguration>
Public Function InjectMultiClusterConfiguration (clusters As IEnumerable(Of String), Optional comment As String = "", Optional checkForLaggingSilosFirst As Boolean = true) As Task(Of MultiClusterConfiguration)

Parameters

clusters
IEnumerable<String>

the clusters that should be part of the active configuration

comment
String

a comment to store alongside the configuration

checkForLaggingSilosFirst
Boolean

if true, checks that all clusters are reachable and up-to-date before injecting the new configuration

Returns

The task completes once information has propagated to the gossip channels

Applies to