static class LruBlockCache.EvictionThread extends HasThread
Modifier and Type | Field and Description |
---|---|
private WeakReference<LruBlockCache> |
cache |
private boolean |
enteringRun |
private boolean |
go |
Constructor and Description |
---|
LruBlockCache.EvictionThread(LruBlockCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
evict() |
(package private) boolean |
isEnteringRun()
Used for the test.
|
void |
run() |
(package private) void |
shutdown() |
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start
private WeakReference<LruBlockCache> cache
private volatile boolean go
private boolean enteringRun
public LruBlockCache.EvictionThread(LruBlockCache cache)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.