Package org.apache.commons.vfs2.cache
Class AbstractFilesCache
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.cache.AbstractFilesCache
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FilesCache
,VfsComponent
- Direct Known Subclasses:
DefaultFilesCache
,LRUFilesCache
,NullFilesCache
,SoftRefFilesCache
Abstract base class for FilesCache implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
touchFile
(FileObject file) Default implementation is a NOOP.Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
close, getContext, getLogger, init, setContext, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.vfs2.FilesCache
clear, close, getFile, putFile, putFileIfAbsent, removeFile
-
Constructor Details
-
AbstractFilesCache
public AbstractFilesCache()Constructs a new instance for subclasses.
-
-
Method Details
-
touchFile
Default implementation is a NOOP.- Parameters:
file
- touch this file.
-