public void AddShard(string name, ShardConfiguration shardConf) { lock (_shardConfs) { _shardConfs.Add(name, shardConf); } }
public void AddShard(ShardConfiguration shardConf) { lock (_shardConfs) { _shardConfs.Add(shardConf.Name, shardConf); } }