Package | Description |
---|---|
org.apache.commons.vfs |
The public VFS API.
|
org.apache.commons.vfs.cache | |
org.apache.commons.vfs.impl |
The standard VFS implementation.
|
Modifier and Type | Method and Description |
---|---|
FilesCache |
FileSystemManager.getFilesCache()
Get the cache used to cache fileobjects.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilesCache
Description
|
class |
DefaultFilesCache
A
FilesCache implementation.This implementation caches every file for the complete lifetime of the used FileSystemManager . |
class |
LRUFilesCache
This implementation caches every file using
LRUMap .The default constructor uses a LRU size of 100 per filesystem. |
class |
NullFilesCache
A
FilesCache implementation.This implementation never ever caches a single file. |
class |
SoftRefFilesCache
This implementation caches every file as long as it is strongly reachable by
the java vm.
|
class |
WeakRefFilesCache
This implementation caches every file as long as it is strongly reachable by
the java vm.
|
Modifier and Type | Method and Description |
---|---|
FilesCache |
DefaultFileSystemManager.getFilesCache()
Returns the filesCache implementation used to cache files
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultFileSystemManager.setFilesCache(FilesCache filesCache)
Sets the filesCache implementation used to cache files
|