public interface FilesCache
Modifier and Type | Method and Description |
---|---|
void |
clear(FileSystem filesystem)
purge the entries corresponding to the filesystem
|
void |
close()
purge the whole cache
|
FileObject |
getFile(FileSystem filesystem,
FileName name)
retrieve a file from the cache by its name
|
void |
putFile(FileObject file)
add a fileobject to the cache
|
void |
removeFile(FileSystem filesystem,
FileName name)
removes a file from cache
|
void putFile(FileObject file)
file
- the fileFileObject getFile(FileSystem filesystem, FileName name)
name
- the namevoid clear(FileSystem filesystem)
void close()
void removeFile(FileSystem filesystem, FileName name)
filesystem
- filesystemname
- filename