private static class IndexWarmer.BgThread
extends Thread
| Modifier and Type | Field and Description |
|---|---|
private long |
prevWarmTime |
private boolean |
shouldStop |
private IndexWarmer |
warmer |
| Constructor and Description |
|---|
BgThread(IndexWarmer warmer) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
private IndexWarmer.Entry |
scanForUpdates() |
private void |
warm(IndexWarmer.Entry ent,
boolean validateOk)
Does the work of warming up an index.
|
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, yieldprivate IndexWarmer warmer
private long prevWarmTime
private boolean shouldStop
BgThread(IndexWarmer warmer)
public void run()
run in interface Runnablerun in class Threadprivate IndexWarmer.Entry scanForUpdates()
private void warm(IndexWarmer.Entry ent, boolean validateOk)