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.Node
public String getShardId()
getShardId
in class SolrCmdDistributor.Node
public String getUrl()
getUrl
in class SolrCmdDistributor.Node
public boolean checkRetry(SolrCmdDistributor.Error err)
checkRetry
in class SolrCmdDistributor.Node
public String getBaseUrl()
getBaseUrl
in class SolrCmdDistributor.Node
public String getCoreName()
getCoreName
in class SolrCmdDistributor.Node
public ZkCoreNodeProps getNodeProps()
getNodeProps
in class SolrCmdDistributor.Node
public int getMaxRetries()
getMaxRetries
in class SolrCmdDistributor.Node
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.