EL.info("WAITING FOR ALL TX: " + results.size());
EL.debug("WAITING FOR ALL TX: " + results.size());
  public static void waitForAllTx() {    long start = new Date().getTime();    Set results = new HashSet();    while (true) {      results = TxQueueFinder.findByStatus("wait");      if (results.size() == 0) {        break;      }      try {        // TODO What's a good time?        // Thread.sleep( (long) (Math.random() * 250) );        EL.info("WAITING FOR ALL TX: " + results.size());        Iterator iter = results.iterator();        int idx = 0;        while (iter.hasNext()) {          TxQueue tx = (TxQueue) iter.next();          EL.info("WAITING FOR ALL TX[" + idx++ + "] " + tx);        }        Thread.sleep(250);      } catch (InterruptedException e) {        // Nothing      }    }    } // public static void waitForAllTx()