Class WindowCache.StrongCleanupQueue
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.WindowCache.StrongCleanupQueue
-
- All Implemented Interfaces:
WindowCache.CleanupQueue
- Enclosing class:
- WindowCache
private static class WindowCache.StrongCleanupQueue extends java.lang.Object implements WindowCache.CleanupQueue
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentLinkedQueue<WindowCache.PageRef<ByteWindow>>
queue
private WindowCache
wc
-
Constructor Summary
Constructors Constructor Description StrongCleanupQueue(WindowCache wc)
-
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
-
queue
private final java.util.concurrent.ConcurrentLinkedQueue<WindowCache.PageRef<ByteWindow>> queue
-
-
Constructor Detail
-
StrongCleanupQueue
StrongCleanupQueue(WindowCache wc)
-
-
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
-
-