Class WindowCache.SoftCleanupQueue
- java.lang.Object
-
- java.lang.ref.ReferenceQueue<ByteWindow>
-
- org.eclipse.jgit.internal.storage.file.WindowCache.SoftCleanupQueue
-
- All Implemented Interfaces:
WindowCache.CleanupQueue
- Enclosing class:
- WindowCache
private static class WindowCache.SoftCleanupQueue extends java.lang.ref.ReferenceQueue<ByteWindow> implements WindowCache.CleanupQueue
-
-
Field Summary
Fields Modifier and Type Field Description private WindowCache
wc
-
Constructor Summary
Constructors Constructor Description SoftCleanupQueue(WindowCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enqueue(WindowCache.PageRef<ByteWindow> r)
void
gc()
-
-
-
Field Detail
-
wc
private final WindowCache wc
-
-
Constructor Detail
-
SoftCleanupQueue
SoftCleanupQueue(WindowCache cache)
-
-
Method Detail
-
enqueue
public boolean enqueue(WindowCache.PageRef<ByteWindow> r)
- Specified by:
enqueue
in interfaceWindowCache.CleanupQueue
-
gc
public void gc()
- Specified by:
gc
in interfaceWindowCache.CleanupQueue
-
-