Proposal for adding O_DIRECT support into JDK 9
brian.burkhalter at oracle.com
Mon Aug 14 23:09:33 UTC 2017
On Aug 14, 2017, at 2:32 PM, Markle, Seth <smarkle at amazon.com> wrote:
>>> Please let us know your comments and feedback. Thank you very much for your consideration!
> Are there any plans to plumb this through to higher level classes built on top of FileChannel. For example, will there be a way to open RandomAccessFile handles with O_DIRECT?
No. In any case, the java.io APIs such as RandomAccessFile are not built on top of the New I/O APIs (java.nio). The latter were introduced under JSR 51  to complement and improve upon the pre-existing I/O classes in the java.io package.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev