From 8b58a0139abe6bf5ed995c5e7d8f7758a1eb4edd Mon Sep 17 00:00:00 2001 From: Nafer Sanabria Date: Sun, 28 Feb 2016 12:17:19 -0500 Subject: [PATCH] Remove outdated note in Streaming File IO --- akka-docs/rst/java/stream/stream-io.rst | 5 ----- akka-docs/rst/scala/stream/stream-io.rst | 5 ----- 2 files changed, 10 deletions(-) diff --git a/akka-docs/rst/java/stream/stream-io.rst b/akka-docs/rst/java/stream/stream-io.rst index 984ad7dd92..71f2786ae5 100644 --- a/akka-docs/rst/java/stream/stream-io.rst +++ b/akka-docs/rst/java/stream/stream-io.rst @@ -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: diff --git a/akka-docs/rst/scala/stream/stream-io.rst b/akka-docs/rst/scala/stream/stream-io.rst index 1131687c6e..760bff8725 100644 --- a/akka-docs/rst/scala/stream/stream-io.rst +++ b/akka-docs/rst/scala/stream/stream-io.rst @@ -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: