You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Nellissery, Bejoy" <Be...@sabre.com> on 2010/12/10 18:41:21 UTC
[vfs] cache
Hi
I was wondering is there a way to cache the entire file content in VFS?.
The FileObject is cached , but when called for data , it access the Filesystem.
I tried with RamFileSystem [ram://], but not useful for high level API's in my application which call getFile() on a
Resource made out of VFS FileObject and gets error, since URI starts with ram:// and java expects file://.
I tried with ByteArrayResource cache , constructed out of VFS FileObject , and supplied to the high level API's , but
found application turned out to be slow.
Any help on this issue Is highly appreciated.
Thanks
Bejoy Joseph N