public class WeakRefFilesCache extends SoftRefFilesCache
WeakReference| Constructor and Description |
|---|
WeakRefFilesCache()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Reference<FileObject> |
createReference(FileObject file,
ReferenceQueue<FileObject> refqueue)
Constructs a new Reference.
|
clear, close, getFile, getOrCreateFilesystemCache, putFile, putFileIfAbsent, removeFile, toStringtouchFilegetContext, getLogger, init, setContext, setLoggerprotected Reference<FileObject> createReference(FileObject file, ReferenceQueue<FileObject> refqueue)
SoftRefFilesCachecreateReference in class SoftRefFilesCachefile - a file object.refqueue - a ReferenceQueue.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.