Ejemplo n.º 1
0
 public KubeMembershipTable(ILoggerFactory loggerFactory, IOptions <SiloOptions> siloOptions, IOptions <KubeClusteringOptions> clusteringOptions)
 {
     this._siloOptions   = siloOptions.Value;
     this._loggerFactory = loggerFactory;
     this._logger        = loggerFactory?.CreateLogger <KubeMembershipTable>();
     this._options       = clusteringOptions.Value;
 }
 public KubeMembershipTable(ILoggerFactory loggerFactory, IOptions <ClusterOptions> clusterOptions, IOptions <KubeClusteringOptions> clusteringOptions)
 {
     this._clusterOptions = clusterOptions.Value;
     this._loggerFactory  = loggerFactory;
     this._logger         = loggerFactory?.CreateLogger <KubeMembershipTable>();
     this._options        = clusteringOptions.Value;
     this._group          = string.IsNullOrWhiteSpace(this._options.Group) ? KubeClient.ORLEANS_GROUP : this._options.Group;
 }