public class Replica extends ZkNodeProps
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Replica.StateThe replica's state. | 
| static class  | Replica.Type | 
propMap| Constructor and Description | 
|---|
| Replica(String name,
       Map<String,Object> propMap) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| String | getBaseUrl() | 
| String | getCoreName()SolrCore name. | 
| String | getCoreUrl() | 
| String | getName()Also known as coreNodeName. | 
| String | getNodeName()The name of the node this replica resides on | 
| String | getProperty(String propertyName) | 
| Replica.State | getState()Returns the  Replica.Stateof this replica. | 
| Replica.Type | getType() | 
| boolean | isActive(Set<String> liveNodes) | 
| String | toString() | 
containsKey, fromKeyVals, get, getBool, getInt, getProperties, getStr, getStr, keySet, load, plus, plus, shallowCopy, writepublic boolean equals(Object o)
equals in class ZkNodePropspublic String getName()
public String getCoreUrl()
public String getBaseUrl()
public String getCoreName()
public String getNodeName()
public Replica.State getState()
Replica.State of this replica.public Replica.Type getType()
public String toString()
toString in class ZkNodePropsCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.