AsynchronousFileChannel.open() - is it blocking?
vitalyd at gmail.com
Thu Mar 1 15:02:21 PST 2012
It's probably safe to assume that any method that doesn't return a Future
or accepts a CompletionHandler runs synchronously.
On Thu, Mar 1, 2012 at 5:52 PM, Zhong Yu <zhong.j.yu at gmail.com> wrote:
> Is open() a potentially blocking action? Apparently so because some
> sanity checking (e.g. existence of the file) requires disk spin. If
> that's the case, it should probably be explicitly documented.
> And after open(), are following methods blocking or non-blocking?
> Zhong Yu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev