[
https://issues.apache.org/jira/browse/VFS-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory closed VFS-706.
Resolution: Fixed
> Add ability to specify buffer sizes #59
> ---
>
> Key: VFS-706
> URL: https://issues.apache.org/jira/browse/VFS-706
> Project: Commons VFS
> Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
>Priority: Major
> Fix For: 2.4
>
>
> Add ability to specify buffer sizes #59.
> "FileContent.getInputStream"'s documentation specifies that "The input stream
> is buffered" which is true (because the implementation in
> "DefaultFileContent" wraps it in "FileContentInputStream" which inherits
> "MonitorInputStream" which in turn "BufferedInputStream". However, there is
> no way to configure the buffer size and sometimes the default one which is
> just 8 KB might not be a good choice. Adding an ability to specify a
> different buffer size will help greatly boost the performance when talking to
> slow providers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)