You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/06/20 18:48:00 UTC

[jira] [Resolved] (IO-510) Add a ReadAheadInputStream (Apache Spark)

     [ https://issues.apache.org/jira/browse/IO-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved IO-510.
--------------------------------
    Fix Version/s: 2.9.0
       Resolution: Fixed

Please test {{org.apache.commons.io.input.ReadAheadInputStream}}

> Add a ReadAheadInputStream (Apache Spark)
> -----------------------------------------
>
>                 Key: IO-510
>                 URL: https://issues.apache.org/jira/browse/IO-510
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: David Mollitor
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 2.9.0
>
>         Attachments: IO-510.1.patch, IO-510.2.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Create a "ReadAheadInputStream".  Such a feature would essentially be a BufferedInputStream that spawns a thread for asynchronous reading.  The thread would continuously fill the buffer (if there was space) from the underlying InputStream.  Thread would wait if buffer was full.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)