Merge pull request #19907 from naferx/issue19904

=doc Remove outdated note in Streaming File IO
This commit is contained in:
Konrad Malawski 2016-03-03 10:39:48 +01:00
commit aaa0476c40
2 changed files with 0 additions and 10 deletions

View file

@ -99,11 +99,6 @@ Streaming File IO
Akka Streams provide simple Sources and Sinks that can work with :class:`ByteString` instances to perform IO operations
on files.
.. note::
Since the current version of Akka (``2.3.x``) needs to support JDK6, the currently provided File IO implementations
are not able to utilise Asynchronous File IO operations, as these were introduced in JDK7 (and newer).
Once Akka is free to require JDK8 (from ``2.4.x``) these implementations will be updated to make use of the
new NIO APIs (i.e. :class:`AsynchronousFileChannel`).
Streaming data from a file is as easy as creating a `FileIO.fromFile` given a target file, and an optional
``chunkSize`` which determines the buffer size determined as one "element" in such stream:

View file

@ -99,11 +99,6 @@ Streaming File IO
Akka Streams provide simple Sources and Sinks that can work with :class:`ByteString` instances to perform IO operations
on files.
.. note::
Since the current version of Akka (``2.3.x``) needs to support JDK6, the currently provided File IO implementations
are not able to utilise Asynchronous File IO operations, as these were introduced in JDK7 (and newer).
Once Akka is free to require JDK8 (from ``2.4.x``) these implementations will be updated to make use of the
new NIO APIs (i.e. :class:`AsynchronousFileChannel`).
Streaming data from a file is as easy as creating a `FileIO.fromFile` given a target file, and an optional
``chunkSize`` which determines the buffer size determined as one "element" in such stream: