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