public boolean iterate() {
    int newValue = myIterations + 1;
    if (myIterations >= myMaxIterations) {
      LOG.debug("Iterations limit " + myMaxIterations + " reached: ", new Throwable());
      return false;
    }
    myIterations = newValue;
    return true;
  }
public boolean iterate()