public class LeaderInitiatedRecoveryThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected CoreContainer |
coreContainer |
protected String |
leaderCoreNodeName |
static org.slf4j.Logger |
log |
protected int |
maxTries |
protected ZkCoreNodeProps |
nodeProps |
protected String |
shardId |
protected ZkController |
zkController |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
LeaderInitiatedRecoveryThread(ZkController zkController,
CoreContainer cc,
String collection,
String shardId,
ZkCoreNodeProps nodeProps,
int maxTries,
String leaderCoreNodeName) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
protected void |
sendRecoveryCommandWithRetry() |
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 static final org.slf4j.Logger log
protected ZkController zkController
protected CoreContainer coreContainer
protected String collection
protected String shardId
protected ZkCoreNodeProps nodeProps
protected int maxTries
protected String leaderCoreNodeName
public LeaderInitiatedRecoveryThread(ZkController zkController, CoreContainer cc, String collection, String shardId, ZkCoreNodeProps nodeProps, int maxTries, String leaderCoreNodeName)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.