AsynchronousFileChannel.open() - is it blocking? (original) (raw)
Zhong Yu zhong.j.yu at gmail.com
Thu Mar 1 14:52:02 PST 2012
- Next message: AsynchronousFileChannel.open() - is it blocking?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
size();
truncate();
Thanks, Zhong Yu
- Next message: AsynchronousFileChannel.open() - is it blocking?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]