Proposal for adding O_DIRECT support into JDK 9
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Sep 11 19:25:39 UTC 2017
Hi Lucy,
Here is a slightly reworded version of your draft.
Thanks,
Brian
/**
* File storage is typically organized into discrete sequences of bytes called
* <i>blocks</i>. A block is the smallest storage unit of a file store. Each read
* and write operation is performed on a multiple of blocks.
*
* @implSpec The implementation in this class throws an
* {@code UnsupportedOperationException}.
*
* @return the block size of this file store, in bytes
*
* @throws IOException
* if an I/O error occurs
*
* @throws UnsupportedOperationException
* if the operation is not supported
*
* @since 10
*/
On Sep 11, 2017, at 11:16 AM, Lu, Yingqi <yingqi.lu at intel.com> wrote:
> Here is a draft of the description. Please let me know if this is sufficient.
>
> /**
> * FileStore typically organizes storage into number of blocks. A block is
> * the smallest storage unit of the file store. Every read and write
> * operations are done on a multiple of blocks.
> *
> * @implSpec The implementation in this class throws an
> * {@code UnsupportedOperationException}.
> *
> * @return the block size of this file store, in bytes
> *
> * @throws IOException
> * if an I/O error occurs
> *
> * @throws UnsupportedOperationException
> * if operation is not supported
> *
> * @since 10
> */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170911/dee88f1d/attachment.html>
More information about the nio-dev
mailing list