Class LeaderRecoveryWatcher
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.LeaderRecoveryWatcher
-
- All Implemented Interfaces:
org.apache.solr.common.cloud.CollectionStateWatcher
public class LeaderRecoveryWatcher extends Object implements org.apache.solr.common.cloud.CollectionStateWatcher
We use this watcher to wait for any eligible replica in a shard to become active so that it can become a leader.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
onStateChanged(Set<String> liveNodes, org.apache.solr.common.cloud.DocCollection collectionState)
-