Class FileCacheNOP

  • All Implemented Interfaces:
    FileCacheIF

    public class FileCacheNOP
    extends FileCache
    A FileCache that does nothing when release() is called.
    Since:
    Mar 3, 2009
    • Constructor Detail

      • FileCacheNOP

        public FileCacheNOP()
    • Method Detail

      • release

        public boolean release​(FileCacheable ncfile)
        Description copied from class: FileCache
        Release the file. This unlocks it, updates its lastAccessed date. Normally applications need not call this, just close the file as usual. The FileCacheable has to do tricky stuff.
        Specified by:
        release in interface FileCacheIF
        Overrides:
        release in class FileCache
        Parameters:
        ncfile - release this file.
        Returns:
        true if file was in cache, false if it was not