[concurrency-interest] High performance Future aggregation - polling vs latching

Joe Bowbeer joe.bowbeer at gmail.com
Mon Aug 7 21:36:01 EDT 2006


On 8/7/06, Outside - Karl's ACM <kpauls at acm.org> wrote:
>
> I think I have an issue with Java 5 & 6's Future interface and the
> FutureTask implementation, but I'm starting to think that it could be
> inappropriate to use Future for the problem at hand. I could be stumbling
> over some of the finer points of the concurrency library.
>

Have you ruled out ExecutorCompletionService?

Another technique would be to implement custom futures that notify you
upon completion.  Override the done method to implement this feature.


More information about the Concurrency-interest mailing list