public GondolaRc() throws Exception {
  config=new Config(new File("conf/gondola-rc.conf"));
  for (  String h : config.getHostIds()) {
    for (    String s : config.getShardIds(h)) {
      if (s.equals("shard1")) {
        gondolas.add(new Gondola(config,h));
      }
    }
  }
}

public GondolaRc ( ) throws Exception { config = new Config ( new File ( "conf/gondola-rc.conf" ) ) ; for ( String h : config . getHostIds ( ) ) { for ( String s : config . getShardIds ( h ) ) { if ( s . equals ( "shard1" ) ) { gondolas . add ( new Gondola ( config , h ) ) ; } } } }
creates all gondola instances in shard1 .
