You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 11:43:40 UTC
[jira] [Created] (IO-308) Allow applications to provide buffer (or
size) for copyLarge methods?
Allow applications to provide buffer (or size) for copyLarge methods?
---------------------------------------------------------------------
Key: IO-308
URL: https://issues.apache.org/jira/browse/IO-308
Project: Commons IO
Issue Type: New Feature
Reporter: Sebb
Priority: Minor
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (IO-308) Allow applications to provide buffer (or
size) for copyLarge methods?
Posted by "Gary D. Gregory (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed IO-308.
------------------------------
Version 2.2 has been released and addresses this issue.
> Allow applications to provide buffer (or size) for copyLarge methods?
> ---------------------------------------------------------------------
>
> Key: IO-308
> URL: https://issues.apache.org/jira/browse/IO-308
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Sebb
> Priority: Minor
> Fix For: 2.2
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IO-308) Allow applications to provide buffer (or
size) for copyLarge methods?
Posted by "Sebb (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved IO-308.
---------------------
Resolution: Fixed
Fix Version/s: 2.2
@Manoj Thanks for the test data provided in IO-305.
> Allow applications to provide buffer (or size) for copyLarge methods?
> ---------------------------------------------------------------------
>
> Key: IO-308
> URL: https://issues.apache.org/jira/browse/IO-308
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Sebb
> Priority: Minor
> Fix For: 2.2
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira