commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [VFS] directory caching
Date Tue, 29 Nov 2005 08:08:53 GMT
HJi Gabriel!
> FileObject internally caches the children - multiple calls to getChildren()
> return the same value even if the children on the server have changed.  
> is this wanted ? I am using NullFilesCache, and I intuitively thought that
> this would also concern directory listings. how can I avoid directory
> caching ? **
This is a hot topic and on my todo list for the next release.

For now its best to call
this will clear the children list and refetch it on next getChildren()

And please do not use the NullFilesCache for now as it might lead to 
resource leaks.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message