IManagementGrain.InjectMultiClusterConfiguration 方法

定义

通过注入多群集配置来配置活动多群集。

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)

参数

clusters
IEnumerable<String>

应属于活动配置的群集

comment
String

与配置一起存储的注释

checkForLaggingSilosFirst
Boolean

如果为 true,请先检查所有群集是否可访问且最新,然后再注入新配置

返回

一旦信息传播到八卦通道,任务就会完成

适用于