public static class SolrCmdDistributor.StdNode extends SolrCmdDistributor.Node
| Modifier and Type | Field and Description |
|---|---|
protected String |
collection |
protected ZkCoreNodeProps |
nodeProps |
protected String |
shardId |
| Constructor and Description |
|---|
StdNode(ZkCoreNodeProps nodeProps) |
StdNode(ZkCoreNodeProps nodeProps,
String collection,
String shardId) |
StdNode(ZkCoreNodeProps nodeProps,
String collection,
String shardId,
int maxRetries) |
| Modifier and Type | Method and 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() |
protected ZkCoreNodeProps nodeProps
protected String collection
protected String shardId
public StdNode(ZkCoreNodeProps nodeProps)
public StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId)
public StdNode(ZkCoreNodeProps nodeProps, String collection, String shardId, int maxRetries)
public String getCollection()
getCollection in class SolrCmdDistributor.Nodepublic String getShardId()
getShardId in class SolrCmdDistributor.Nodepublic String getUrl()
getUrl in class SolrCmdDistributor.Nodepublic boolean checkRetry(SolrCmdDistributor.Error err)
checkRetry in class SolrCmdDistributor.Nodepublic String getBaseUrl()
getBaseUrl in class SolrCmdDistributor.Nodepublic String getCoreName()
getCoreName in class SolrCmdDistributor.Nodepublic ZkCoreNodeProps getNodeProps()
getNodeProps in class SolrCmdDistributor.Nodepublic int getMaxRetries()
getMaxRetries in class SolrCmdDistributor.NodeCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.