code: public void setNames(String[] names) throws IOException {
      if (names == null) {
        this.names = new String[0];
      } else {
        this.names = names;
      }
    }
docs: Set the names (host:port) hosting this block