why not both Future and CompletionHandler?
Alan Bateman
Alan.Bateman at oracle.com
Thu Apr 14 10:01:25 PDT 2011
Rémi Forax wrote:
>
> Or if I want to use a completion handler but have also a way to cancel
> the operation.
Yes, and that was noted at the time [1] but isn't really much of a
concern because canceling specific I/O operations usually doesn't make
sense (and just isn't feasible everywhere anyway).
-Alan
[1] http://bugs.sun.com/view_bug.do?bug_id=6842687
More information about the nio-dev
mailing list