commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36962] - [vfs] Cannot used base root with FTP
Date Fri, 14 Oct 2005 17:41:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36962


mario@ops.co.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |LATER




------- Additional Comments From mario@ops.co.at  2005-10-14 19:41 -------
When using a NullFilesCache NO file-object will be cached and thus VFS has to
recreate it on every resolveFile.
This declares why your object instances are different.

BTW: Using any other cache then the default might lead to memory leaks too. VFS
dont know when to close the filesystem if it cant keep track of the files in use.
You have to call AbstractFileProvider.closeFileSystem to avoid this.
Though, its still a performance penalty not to use the cache.

If you use the cache, dont forget to call FileObject.close() if you would like
to resync the data (last mod time, filesize, children) with the real filesystem.
You can reuse you FileObject after "close", VFS will refetch the data then.

Resolve this bug with "later" as I might think about the caching at all at a
later time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message