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 Stringcollectionprotected org.apache.solr.common.cloud.ZkCoreNodePropsnodePropsprotected StringshardId
-
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 booleancheckRetry(SolrCmdDistributor.SolrError err)booleanequals(Object obj)StringgetBaseUrl()StringgetCollection()StringgetCoreName()intgetMaxRetries()org.apache.solr.common.cloud.ZkCoreNodePropsgetNodeProps()StringgetShardId()StringgetUrl()inthashCode()StringtoString()
-
-
-
Method Detail
-
getCollection
public String getCollection()
- Specified by:
getCollectionin classSolrCmdDistributor.Node
-
getShardId
public String getShardId()
- Specified by:
getShardIdin classSolrCmdDistributor.Node
-
getUrl
public String getUrl()
- Specified by:
getUrlin classSolrCmdDistributor.Node
-
checkRetry
public boolean checkRetry(SolrCmdDistributor.SolrError err)
- Specified by:
checkRetryin classSolrCmdDistributor.Node
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrlin classSolrCmdDistributor.Node
-
getCoreName
public String getCoreName()
- Specified by:
getCoreNamein classSolrCmdDistributor.Node
-
getNodeProps
public org.apache.solr.common.cloud.ZkCoreNodeProps getNodeProps()
- Specified by:
getNodePropsin classSolrCmdDistributor.Node
-
getMaxRetries
public int getMaxRetries()
- Specified by:
getMaxRetriesin classSolrCmdDistributor.Node
-
-