public class NodeReader extends Object implements org.apache.zookeeper.Watcher, org.apache.zookeeper.AsyncCallback.DataCallback
org.apache.zookeeper.Watcher.Eventorg.apache.zookeeper.AsyncCallback.ACLCallback, org.apache.zookeeper.AsyncCallback.Children2Callback, org.apache.zookeeper.AsyncCallback.ChildrenCallback, org.apache.zookeeper.AsyncCallback.DataCallback, org.apache.zookeeper.AsyncCallback.StatCallback, org.apache.zookeeper.AsyncCallback.StringCallback, org.apache.zookeeper.AsyncCallback.VoidCallback| Constructor and Description |
|---|
NodeReader(String path,
ReadRoot readRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getAbsolutePath() |
String |
getIp() |
String |
getPath() |
void |
process(org.apache.zookeeper.WatchedEvent event) |
void |
processResult(int rc,
String p,
Object ctx,
byte[] data,
org.apache.zookeeper.data.Stat stat) |
void |
setIp(String ip) |
void |
setPath(String path) |
public void setPath(String path)
public String getPath()
public String getAbsolutePath()
public void processResult(int rc,
String p,
Object ctx,
byte[] data,
org.apache.zookeeper.data.Stat stat)
processResult in interface org.apache.zookeeper.AsyncCallback.DataCallbackpublic void setIp(String ip)
public String getIp()
public void process(org.apache.zookeeper.WatchedEvent event)
process in interface org.apache.zookeeper.Watcherpublic void dispose()
Copyright © 2019 Eclipse Foundation. All rights reserved.