public class RecoveryStrategy extends Thread implements Closeable
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | RecoveryStrategy.RecoveryListener | 
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
| RecoveryStrategy(CoreContainer cc,
                CoreDescriptor cd,
                RecoveryStrategy.RecoveryListener recoveryListener) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | doRecovery(SolrCore core) | 
| boolean | isClosed() | 
| void | run() | 
| void | setRecoveringAfterStartup(boolean recoveringAfterStartup) | 
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, yieldpublic RecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
public void setRecoveringAfterStartup(boolean recoveringAfterStartup)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic void doRecovery(SolrCore core) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic boolean isClosed()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.