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
Modifier and TypeMethodDescriptionbooleanonStateChanged(Set<String> liveNodes, org.apache.solr.common.cloud.DocCollection collectionState)