Package org.apache.solr.update
Class SolrCmdDistributor.StdNode
- java.lang.Object
-
- org.apache.solr.update.SolrCmdDistributor.Node
-
- org.apache.solr.update.SolrCmdDistributor.StdNode
-
- Direct Known Subclasses:
SolrCmdDistributor.ForwardNode
- Enclosing class:
- SolrCmdDistributor
public static class SolrCmdDistributor.StdNode extends SolrCmdDistributor.Node
-
-
Field Summary
Fields Modifier and Type Field Description protected String
collection
protected org.apache.solr.common.cloud.ZkCoreNodeProps
nodeProps
protected String
shardId
-
Constructor Summary
Constructors Constructor Description StdNode(org.apache.solr.common.cloud.ZkCoreNodeProps nodeProps)
StdNode(org.apache.solr.common.cloud.ZkCoreNodeProps nodeProps, String collection, String shardId)
StdNode(org.apache.solr.common.cloud.ZkCoreNodeProps nodeProps, String collection, String shardId, int maxRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkRetry(SolrCmdDistributor.SolrError err)
boolean
equals(Object obj)
String
getBaseUrl()
String
getCollection()
String
getCoreName()
int
getMaxRetries()
org.apache.solr.common.cloud.ZkCoreNodeProps
getNodeProps()
String
getShardId()
String
getUrl()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getCollection
public String getCollection()
- Specified by:
getCollection
in classSolrCmdDistributor.Node
-
getShardId
public String getShardId()
- Specified by:
getShardId
in classSolrCmdDistributor.Node
-
getUrl
public String getUrl()
- Specified by:
getUrl
in classSolrCmdDistributor.Node
-
checkRetry
public boolean checkRetry(SolrCmdDistributor.SolrError err)
- Specified by:
checkRetry
in classSolrCmdDistributor.Node
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl
in classSolrCmdDistributor.Node
-
getCoreName
public String getCoreName()
- Specified by:
getCoreName
in classSolrCmdDistributor.Node
-
getNodeProps
public org.apache.solr.common.cloud.ZkCoreNodeProps getNodeProps()
- Specified by:
getNodeProps
in classSolrCmdDistributor.Node
-
getMaxRetries
public int getMaxRetries()
- Specified by:
getMaxRetries
in classSolrCmdDistributor.Node
-
-