Ejemplo n.º 1
0
  public Element getResult(String cmd, String file) throws IOException {
    this.evt = SDFSEvent.crckInfoEvent("Cluster Redundancy Check Initialized");
    Thread th = new Thread(this);
    th.start();
    try {

      Thread.sleep(300);
      return evt.toXML();
    } catch (Exception e) {
      throw new IOException(e);
    }
  }