public class RecoveryStrategy extends Thread implements ClosableThread
Modifier and Type | Class and Description |
---|---|
static interface |
RecoveryStrategy.RecoveryListener |
Thread.State, Thread.UncaughtExceptionHandler
MAX_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, yield
public RecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
public void setRecoveringAfterStartup(boolean recoveringAfterStartup)
public void close()
close
in interface ClosableThread
public void doRecovery(SolrCore core) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
public boolean isClosed()
isClosed
in interface ClosableThread
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.