org.apache.solr.common.cloud
Class Replica
java.lang.Object
org.apache.solr.common.cloud.ZkNodeProps
org.apache.solr.common.cloud.Replica
- All Implemented Interfaces:
- org.noggit.JSONWriter.Writable
public class Replica
- extends ZkNodeProps
Methods inherited from class org.apache.solr.common.cloud.ZkNodeProps |
containsKey, fromKeyVals, get, getBool, getInt, getProperties, getStr, getStr, keySet, load, makeMap, shallowCopy, write |
Replica
public Replica(String name,
Map<String,Object> propMap)
getName
public String getName()
getNodeName
public String getNodeName()
- The name of the node this replica resides on
toString
public String toString()
- Overrides:
toString
in class ZkNodeProps
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.