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 ZkCoreNodeProps
nodeProps
protected String
shardId
-
Constructor Summary
Constructors Constructor Description StdNode(ZkCoreNodeProps nodeProps)
StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId)
StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId, int maxRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkRetry(SolrCmdDistributor.Error err)
boolean
equals(Object obj)
String
getBaseUrl()
String
getCollection()
String
getCoreName()
int
getMaxRetries()
ZkCoreNodeProps
getNodeProps()
String
getShardId()
String
getUrl()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
nodeProps
protected ZkCoreNodeProps nodeProps
-
collection
protected String collection
-
shardId
protected String shardId
-
-
Constructor Detail
-
StdNode
public StdNode(ZkCoreNodeProps nodeProps)
-
StdNode
public StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId)
-
StdNode
public StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId, int maxRetries)
-
-
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.Error 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 ZkCoreNodeProps getNodeProps()
- Specified by:
getNodeProps
in classSolrCmdDistributor.Node
-
getMaxRetries
public int getMaxRetries()
- Specified by:
getMaxRetries
in classSolrCmdDistributor.Node
-
-