Class LeaderRecoveryWatcher
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.LeaderRecoveryWatcher
-
- All Implemented Interfaces:
CollectionStateWatcher
public class LeaderRecoveryWatcher extends Object implements 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, DocCollection collectionState)
-
-
-
Method Detail
-
onStateChanged
public boolean onStateChanged(Set<String> liveNodes, DocCollection collectionState)
- Specified by:
onStateChanged
in interfaceCollectionStateWatcher
-
-