Hi Martin and Graham,

I have implemented a first cut of the ideas of last week, after a code 
review from Graham I am ready to commit. Martin while the result is 
checked in for your review; there is no hurry on this one we can all try 
a couple rounds of implementation / feedback as we get a chance to use 
the ideas.

Changes for this commit:
- Processors (formally ProcessFinder) is similar to Executors
- ProcessExecutor extends Executor and is similar to ExecutorService
- Process is implemented as we described (ie the same style as 
Callable<Map<String,Object>>)
- Progress extends Future (and is returned by a ProcessExecutor for each 
submitted Process)

I have also implemented:
- ThreadPoolProcessExecutor - implementation of ProcessExecutor
- ProcessTask (an implementation of Progress by copying the Java class 
FutureTask - this is just for show we will need to implement this 
ourself prior to public release)

The user interface mock-up is serving as a good test of the 
ProcessFactory/Parameter API, but we will need a few more Process 
implementations before I am comfortable.

Cheers,
Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to