Class WeakRefFilesCache

  • All Implemented Interfaces:
    FilesCache, VfsComponent

    public class WeakRefFilesCache
    extends SoftRefFilesCache
    This implementation caches every file as long as it is strongly reachable by the java vm. As soon as the object is no longer reachable it will be discarded. In contrast to the SoftRefFilesCache this implementation might free resources faster as it don't wait until a memory limitation.
    See Also:
    WeakReference