Exemplo n.º 1
0
 public void AddShard(string name, ShardConfiguration shardConf)
 {
     lock (_shardConfs)
     {
         _shardConfs.Add(name, shardConf);
     }
 }
Exemplo n.º 2
0
 public void AddShard(ShardConfiguration shardConf)
 {
     lock (_shardConfs)
     {
         _shardConfs.Add(shardConf.Name, shardConf);
     }
 }