File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes use GPars to quicken simultaneous downloads? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "use GPars to quicken simultaneous downloads?" Watch "use GPars to quicken simultaneous downloads?" New topic
Author

use GPars to quicken simultaneous downloads?

Benjamin Weaver
Ranch Hand

Joined: Apr 08, 2003
Posts: 161
My groovy script reads a list of filePaths and downloads the files to a directory. As it is currently written it loops through the list. Basic stuff.

Would the use of GPars, say, of fork/join hasten this task? Would some kind of parallelism enable allocation of the downloading work to multiple processors? And should this be true, would I be able to preserve the order of processing guaranteed by a traditional loop?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: use GPars to quicken simultaneous downloads?
 
Similar Threads
Cheating with Maven?
tomcat installation
Downloads through servlets,only after authorization ?
what java API handles ftp download/uplaod ?
JPopupMenu on a JTable Header Selection Problem