commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [VFS] cache on children
Date Thu, 30 Mar 2006 09:37:58 GMT
Hi!
> I have an empty directory : AbstractFileObject#children = []
> Then, some files are written inside, but children is still set to []
> Thus, AbstractFileObject#getChildren() still gives []
>
> I'd like to flush this damned cache, but everything is private :(
:-) Its by far the most asked question.

call directory.close() - this will refresh the cache too.

Ciao,
Mario


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


Mime
View raw message