| Constructor and Description |
|---|
NodeWatcher(String quorum,
org.apache.zookeeper.AsyncCallback.DataCallback callback,
String path)
Construct a new NodeWatcher.
|
public NodeWatcher(String quorum, org.apache.zookeeper.AsyncCallback.DataCallback callback, String path)
quorum - Comma-separated list of addresses for the Zookeeper quorum.callback - Callback method called upon changes in the node.path - Path of the znode monitored.Copyright © 2015 Lable. All rights reserved.