private static class WindowCache.SoftCleanupQueue extends java.lang.ref.ReferenceQueue<ByteWindow> implements WindowCache.CleanupQueue
Modifier and Type | Field and Description |
---|---|
private WindowCache |
wc |
Constructor and Description |
---|
SoftCleanupQueue(WindowCache cache) |
Modifier and Type | Method and Description |
---|---|
boolean |
enqueue(WindowCache.PageRef<ByteWindow> r) |
void |
gc() |
private final WindowCache wc
SoftCleanupQueue(WindowCache cache)
public boolean enqueue(WindowCache.PageRef<ByteWindow> r)
enqueue
in interface WindowCache.CleanupQueue
public void gc()
gc
in interface WindowCache.CleanupQueue