Package org.apache.solr.cloud
Class LeaderInitiatedRecoveryThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.solr.cloud.LeaderInitiatedRecoveryThread
-
- All Implemented Interfaces:
Runnable
@Deprecated public class LeaderInitiatedRecoveryThread extends Thread
Deprecated.Background daemon thread that tries to send the REQUESTRECOVERY to a downed replica; used by a shard leader to nag a replica into recovering after the leader experiences an error trying to send an update request to the replica.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcollectionDeprecated.protected CoreContainercoreContainerDeprecated.protected intmaxTriesDeprecated.protected ZkCoreNodePropsnodePropsDeprecated.protected StringshardIdDeprecated.protected ZkControllerzkControllerDeprecated.-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description LeaderInitiatedRecoveryThread(ZkController zkController, CoreContainer cc, String collection, String shardId, ZkCoreNodeProps nodeProps, int maxTries, CoreDescriptor leaderCd)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanpublishDownState(String replicaCoreName, String replicaCoreNodeName, String replicaNodeName, String replicaUrl, boolean forcePublishState)Deprecated.voidrun()Deprecated.protected voidsendRecoveryCommandWithRetry()Deprecated.protected voidupdateLIRState(String replicaCoreNodeName)Deprecated.-
Methods inherited from class java.lang.Thread
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
-
-
-
-
Field Detail
-
zkController
protected ZkController zkController
Deprecated.
-
coreContainer
protected CoreContainer coreContainer
Deprecated.
-
collection
protected String collection
Deprecated.
-
shardId
protected String shardId
Deprecated.
-
nodeProps
protected ZkCoreNodeProps nodeProps
Deprecated.
-
maxTries
protected int maxTries
Deprecated.
-
-
Constructor Detail
-
LeaderInitiatedRecoveryThread
public LeaderInitiatedRecoveryThread(ZkController zkController, CoreContainer cc, String collection, String shardId, ZkCoreNodeProps nodeProps, int maxTries, CoreDescriptor leaderCd)
Deprecated.
-
-
Method Detail
-
run
public void run()
Deprecated.
-
publishDownState
public boolean publishDownState(String replicaCoreName, String replicaCoreNodeName, String replicaNodeName, String replicaUrl, boolean forcePublishState)
Deprecated.
-
updateLIRState
protected void updateLIRState(String replicaCoreNodeName)
Deprecated.
-
-