private static class WindowCache.StrongCleanupQueue extends java.lang.Object implements WindowCache.CleanupQueue
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentLinkedQueue<WindowCache.PageRef<ByteWindow>> |
queue |
private WindowCache |
wc |
| Constructor and Description |
|---|
StrongCleanupQueue(WindowCache wc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enqueue(WindowCache.PageRef<ByteWindow> r) |
void |
gc() |
private final WindowCache wc
private final java.util.concurrent.ConcurrentLinkedQueue<WindowCache.PageRef<ByteWindow>> queue
StrongCleanupQueue(WindowCache wc)
public boolean enqueue(WindowCache.PageRef<ByteWindow> r)
enqueue in interface WindowCache.CleanupQueuepublic void gc()
gc in interface WindowCache.CleanupQueue