Class LRUFileCache

  • All Implemented Interfaces:
    FileCache

    public class LRUFileCache
    extends Object
    implements FileCache
    A LRU cache of Files with maximum filesystem size.

    Cache entries that are old enough and whose size makes the cache bigger than its maximum size are deleted.

    The cache keys are restricted to a subset of ASCII: letters, digits and dashes. Usually a MD5 or SHA1 hash is used.