Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-510

Add a ReadAheadInputStream (Apache Spark)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0
    • Streams/Writers
    • None

    Description

      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.

      Attachments

        1. IO-510.2.patch
          10 kB
          David Mollitor
        2. IO-510.1.patch
          9 kB
          David Mollitor

        Issue Links

          Activity

            People

              ggregory Gary D. Gregory
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m