Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.admin | |
org.apache.zookeeper.cli |
Modifier and Type | Field and Description |
---|---|
protected ZooKeeper |
ZooKeeperMain.zk |
Modifier and Type | Method and Description |
---|---|
protected ClientCnxn |
ZooKeeper.createConnection(String chrootPath,
HostProvider hostProvider,
int sessionTimeout,
ZooKeeper zooKeeper,
ClientWatchManager watcher,
org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket,
boolean canBeReadOnly) |
static boolean |
ZooKeeperMain.createQuota(ZooKeeper zk,
String path,
long bytes,
int numNodes)
this method creates a quota node for the path
|
static void |
ZKUtil.deleteRecursive(ZooKeeper zk,
String pathRoot)
Recursively delete the node with the given path.
|
static void |
ZKUtil.deleteRecursive(ZooKeeper zk,
String pathRoot,
AsyncCallback.VoidCallback cb,
Object ctx)
Recursively delete the node with the given path.
|
static boolean |
ZooKeeperMain.delQuota(ZooKeeper zk,
String path,
boolean bytes,
boolean numNodes)
this method deletes quota for a node.
|
static List<String> |
ZKUtil.listSubTreeBFS(ZooKeeper zk,
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,
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.
|
Constructor and Description |
---|
ClientCnxn(String chrootPath,
HostProvider hostProvider,
int sessionTimeout,
ZooKeeper zooKeeper,
ClientWatchManager watcher,
org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket,
boolean canBeReadOnly)
Creates a connection object.
|
ClientCnxn(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.
|
Transaction(ZooKeeper zk) |
ZooKeeperMain(ZooKeeper zk) |
Modifier and Type | Class and Description |
---|---|
class |
ZooKeeperAdmin
This is the main class for ZooKeeperAdmin client library.
|
Modifier and Type | Field and Description |
---|---|
protected ZooKeeper |
CliCommand.zk |
Modifier and Type | Method and Description |
---|---|
static boolean |
SetQuotaCommand.createQuota(ZooKeeper zk,
String path,
long bytes,
int numNodes) |
static boolean |
DelQuotaCommand.delQuota(ZooKeeper zk,
String path,
boolean bytes,
boolean numNodes)
this method deletes quota for a node.
|
void |
CliCommand.setZk(ZooKeeper zk)
set the zookeeper instance
|
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.