static class LruBlockCache.EvictionThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private WeakReference<LruBlockCache> |
cache |
private boolean |
enteringRun |
private boolean |
go |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
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() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private WeakReference<LruBlockCache> cache
private volatile boolean go
private boolean enteringRun
public EvictionThread(LruBlockCache cache)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.