Beispiel #1
0
 public ShardInfo GetShard(string name)
 {
     lock (ShardInfo)
     {
         if (ShardInfo.ContainsKey(name))
         {
             return(ShardInfo[name]);
         }
         return(null);
     }
 }
Beispiel #2
0
 public bool ContainsShard(string name)
 {
     return(ShardInfo.ContainsKey(name));
 }