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>>queueprivate WindowCachewc
-
Constructor Summary
Constructors Constructor Description StrongCleanupQueue(WindowCache wc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenqueue(WindowCache.PageRef<ByteWindow> r)voidgc()
-
-
-
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:
enqueuein interfaceWindowCache.CleanupQueue
-
gc
public void gc()
- Specified by:
gcin interfaceWindowCache.CleanupQueue
-
-