public class LeaderInitiatedRecoveryThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected CoreContainer |
coreContainer |
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,
CoreDescriptor leaderCd) |
Modifier and Type | Method and Description |
---|---|
boolean |
publishDownState(String replicaCoreName,
String replicaCoreNodeName,
String replicaNodeName,
String replicaUrl,
boolean forcePublishState) |
void |
run() |
protected void |
sendRecoveryCommandWithRetry() |
protected void |
updateLIRState(String replicaCoreNodeName) |
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
protected ZkController zkController
protected CoreContainer coreContainer
protected String collection
protected String shardId
protected ZkCoreNodeProps nodeProps
protected int maxTries
public LeaderInitiatedRecoveryThread(ZkController zkController, CoreContainer cc, String collection, String shardId, ZkCoreNodeProps nodeProps, int maxTries, CoreDescriptor leaderCd)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.