[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Closed] (VFS-705) Add ability to specify the buffer size of input/output streams
From:       "Gary Gregory (JIRA)" <jira () apache ! org>
Date:       2019-04-30 13:00:00
Message-ID: JIRA.13229678.1556040979000.174681.1556629200382 () Atlassian ! JIRA
[Download RAW message or body]


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

Gary Gregory closed VFS-705.
----------------------------
    Resolution: Fixed

Oops, I created [VFS-706] and committed with that ticket reference instead of this \
one. I marking this ticket as a duplicate of [VFS-706], sorry about that.

> Add ability to specify the buffer size of input/output streams
> --------------------------------------------------------------
> 
> Key: VFS-705
> URL: https://issues.apache.org/jira/browse/VFS-705
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 2.3
> Reporter: Boris Petrov
> Priority: Major
> 
> "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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic