Uses of Class
org.apache.zookeeper.ZooKeeper
-
Packages that use ZooKeeper Package Description org.apache.zookeeper org.apache.zookeeper.admin org.apache.zookeeper.cli org.apache.zookeeper.inspector.manager org.apache.zookeeper.retry org.apache.zookeeper.test.system -
-
Uses of ZooKeeper in org.apache.zookeeper
Fields in org.apache.zookeeper declared as ZooKeeper Modifier and Type Field Description protected ZooKeeperZooKeeperMain. zkMethods in org.apache.zookeeper with parameters of type ZooKeeper Modifier and Type Method Description static voidZKUtil. deleteRecursive(ZooKeeper zk, java.lang.String pathRoot)Same asZKUtil.deleteRecursive(org.apache.zookeeper.ZooKeeper, java.lang.String, int)kept here for compatibility with 3.5 clients.static booleanZKUtil. deleteRecursive(ZooKeeper zk, java.lang.String pathRoot, int batchSize)Recursively delete the node with the given path.static voidZKUtil. deleteRecursive(ZooKeeper zk, java.lang.String pathRoot, AsyncCallback.VoidCallback cb, java.lang.Object ctx)Recursively delete the node with the given path.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 voidZKUtil. 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 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 classZooKeeperAdminThis 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 ZooKeeperCliCommand. zkMethods in org.apache.zookeeper.cli with parameters of type ZooKeeper Modifier and Type Method Description static booleanSetQuotaCommand. createQuota(ZooKeeper zk, java.lang.String path, StatsTrack quota)this method creates a quota node for the pathstatic booleanDelQuotaCommand. delQuota(ZooKeeper zk, java.lang.String path, StatsTrack quota)this method deletes quota for a node.static java.util.List<StatsTrack>ListQuotaCommand. listQuota(ZooKeeper zk, java.lang.String path)voidCliCommand. setZk(ZooKeeper zk)set the zookeeper instance -
Uses of ZooKeeper in org.apache.zookeeper.inspector.manager
Constructors in org.apache.zookeeper.inspector.manager with parameters of type ZooKeeper Constructor Description NodesCache(ZooKeeper zooKeeper)NodeWatcher(java.lang.String nodePath, NodeListener nodeListener, ZooKeeper zookeeper) -
Uses of ZooKeeper in org.apache.zookeeper.retry
Subclasses of ZooKeeper in org.apache.zookeeper.retry Modifier and Type Class Description classZooKeeperRetryA Class which extendsZooKeeperand will automatically retry calls to zookeeper if aKeeperException.ConnectionLossExceptionoccurs. -
Uses of ZooKeeper in org.apache.zookeeper.test.system
Constructors in org.apache.zookeeper.test.system with parameters of type ZooKeeper Constructor Description InstanceManager(ZooKeeper zk, java.lang.String prefix)
-