Commons IO
  1. Commons IO
  2. IO-308

Allow applications to provide buffer (or size) for copyLarge methods?

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Unlike the skip buffer, the copyLarge buffers cannot be shared between threads.
      The methods allocate their own buffers as local variables (current size 4096)

      It might be worth allowing applications to provide their own buffers, and/or specifying the buffer size to be used.

        Issue Links

          Activity

          Hide
          Gary Gregory added a comment -

          Version 2.2 has been released and addresses this issue.

          Show
          Gary Gregory added a comment - Version 2.2 has been released and addresses this issue.
          Hide
          Sebb added a comment -

          @Manoj Thanks for the test data provided in IO-305.

          Show
          Sebb added a comment - @Manoj Thanks for the test data provided in IO-305 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development