Uses of Class
org.apache.zookeeper.ZooKeeper
-
Packages that use ZooKeeper Package Description org.apache.zookeeper org.apache.zookeeper.admin org.apache.zookeeper.cli -
-
Uses of ZooKeeper in org.apache.zookeeper
Fields in org.apache.zookeeper declared as ZooKeeper Modifier and Type Field Description protected ZooKeeper
ZooKeeperMain. zk
Methods in org.apache.zookeeper with parameters of type ZooKeeper Modifier and Type Method Description protected ClientCnxn
ZooKeeper. createConnection(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, boolean canBeReadOnly)
protected ClientCnxn
ZooKeeper. createConnection(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, boolean canBeReadOnly, java.lang.String clusterName)
static boolean
ZooKeeperMain. createQuota(ZooKeeper zk, java.lang.String path, long bytes, int numNodes)
this method creates a quota node for the pathstatic void
ZKUtil. deleteRecursive(ZooKeeper zk, java.lang.String pathRoot)
Recursively delete the node with the given path.static void
ZKUtil. deleteRecursive(ZooKeeper zk, java.lang.String pathRoot, AsyncCallback.VoidCallback cb, java.lang.Object ctx)
Recursively delete the node with the given path.static boolean
ZooKeeperMain. delQuota(ZooKeeper zk, java.lang.String path, boolean bytes, boolean numNodes)
this method deletes quota for a node.static java.util.List<java.lang.String>
ZKUtil. listSubTreeBFS(ZooKeeper zk, java.lang.String pathRoot)
BFS Traversal of the system under pathRoot, with the entries in the list, in the same order as that of the traversal.static void
ZKUtil. visitSubTreeDFS(ZooKeeper zk, java.lang.String path, boolean watch, AsyncCallback.StringCallback cb)
Visits the subtree with root as given path and calls the passed callback with each znode found during the search.Constructors in org.apache.zookeeper with parameters of type ZooKeeper Constructor Description ClientCnxn(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, boolean canBeReadOnly)
Creates a connection object.ClientCnxn(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, boolean canBeReadOnly, java.lang.String clusterName)
ClientCnxn(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, long sessionId, byte[] sessionPasswd, boolean canBeReadOnly)
Creates a connection object.ClientCnxn(java.lang.String chrootPath, HostProvider hostProvider, int sessionTimeout, ZooKeeper zooKeeper, ClientWatchManager watcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, long sessionId, byte[] sessionPasswd, boolean canBeReadOnly, java.lang.String clusterName)
Transaction(ZooKeeper zk)
ZooKeeperMain(ZooKeeper zk)
-
Uses of ZooKeeper in org.apache.zookeeper.admin
Subclasses of ZooKeeper in org.apache.zookeeper.admin Modifier and Type Class Description class
ZooKeeperAdmin
This is the main class for ZooKeeperAdmin client library. -
Uses of ZooKeeper in org.apache.zookeeper.cli
Fields in org.apache.zookeeper.cli declared as ZooKeeper Modifier and Type Field Description protected ZooKeeper
CliCommand. zk
Methods in org.apache.zookeeper.cli with parameters of type ZooKeeper Modifier and Type Method Description static boolean
SetQuotaCommand. createQuota(ZooKeeper zk, java.lang.String path, long bytes, int numNodes)
static boolean
DelQuotaCommand. delQuota(ZooKeeper zk, java.lang.String path, boolean bytes, boolean numNodes)
this method deletes quota for a node.void
CliCommand. setZk(ZooKeeper zk)
set the zookeeper instance
-