public class IndexRecovery extends Thread
- Readers cannot do any damage, so only their read lock is deleted.
- Modifiers cannot do any damage either, their data is deleted.
- Commiters may have caused some damage - all their new barrels are deleted, so no append nor removeDoc is preserved. All local data is deleted too. The index should be in previous consistent state.
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
IndexRecovery(String location,
String lockServerConfigFilename) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
run() |
activeCount, checkAccess, 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
Copyright © 2016 Egothor. All Rights Reserved.