Moving CompletionHandler to java.util.concurrent

Gili cowwoc at bbs.darktech.org
Wed Oct 21 09:12:26 PDT 2009


http://www.nabble.com/Re%3A-Moving-CompletionHandler-to-java.util.concurrent-p25964609.html
brings up a good point: why don't we simply add event listeners to Future?
Seems like a much cleaner and more useful approach... Instead of having to
provide one method for Future and another for CompletionHandler, the Future
would handle both use-cases.

What do you think?

Gili


Mark Thornton wrote:
> 
> Gili wrote:
>>
>>   
>> I just cross-posted to
>> http://www.nabble.com/Moving-CompletionHandler-to-java.util.concurrent-td25958440.html
>> -- we'll see what they have to say. Oddly enough I couldn't find previous
>> discussion of this sort of thing on their mailing list.
>>
>> Gili
>>   
> Does the nabble interface work both ways --- your message hasn't yet 
> appeared on the 'real' concurrency list after an hour whereas it 
> appeared on the nio list within a minute or so.
> 
> Mark
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Moving-CompletionHandler-to-java-util-concurrent-tp3845440p3866340.html
Sent from the nio-discuss mailing list archive at Nabble.com.


More information about the nio-discuss mailing list