Menu

#5 TaskGroup doesn't extend Callable

0.9.2-beta
open
Malcolm
API (3)
5
2011-08-21
2011-08-21
Malcolm
No

TaskGroup currently doesn't extend Callable, so can't do the following:
TaskGroup<V> task = doAsynch ? new ParallelTaskGroup<V>() : new SequentialTaskGroup<V>();
task.add(childTask1);
task.add(childTask2);
TaskExecutor.execute(task);

Discussion


Log in to post a comment.

MongoDB Logo MongoDB