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