You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/03/10 10:09:58 UTC
[lucene] 01/07: javadocs
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch jira/solr14003
in repository https://gitbox.apache.org/repos/asf/lucene.git
commit bbe6084ac970c62c0f666f021a130a21ae73aa07
Author: noble <no...@apache.org>
AuthorDate: Mon Dec 16 13:46:07 2019 +1100
javadocs
---
.../java/org/apache/solr/client/solrj/cloud/ShardStateProvider.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/ShardStateProvider.java b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/ShardStateProvider.java
index 3df4c36..84a172b 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/ShardStateProvider.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/ShardStateProvider.java
@@ -42,10 +42,14 @@ public interface ShardStateProvider {
Replica getLeader(Slice slice, int timeout) throws InterruptedException;
+ /** Same as {@link #getLeader(Slice, int)}. But without the Slice Object
+ *
+ */
Replica getLeader(String collection, String slice, int timeout) throws InterruptedException;
- /**CHeck if the replica is active
+ /**Check if the replica is active.
+ * The implementation may also check if the node is a member of /live_nodes
*
*/
boolean isActive(Replica replica);