Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/ZooKeeperMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/ZooKeeperMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/ZooKeeperMain.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,440 @@ + + + +
+ +public class ZooKeeperMain +extends Object+
Constructor and Description | +
---|
ZooKeeperMain(String[] args) |
+
ZooKeeperMain(ZooKeeper zk) |
+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+createQuota(ZooKeeper zk,
+ String path,
+ long bytes,
+ int numNodes)
+this method creates a quota node for the path
+ |
+
static boolean |
+delQuota(ZooKeeper zk,
+ String path,
+ boolean bytes,
+ boolean numNodes)
+this method deletes quota for a node.
+ |
+
void |
+executeLine(String line) |
+
static List<String> |
+getCommands() |
+
boolean |
+getPrintWatches() |
+
static void |
+main(String[] args) |
+
static void |
+printMessage(String msg) |
+
public ZooKeeperMain(String[] args) + throws IOException, + InterruptedException+
IOException
InterruptedException
public ZooKeeperMain(ZooKeeper zk)+
public boolean getPrintWatches()+
public static void printMessage(String msg)+
public static void main(String[] args) + throws KeeperException, + IOException, + InterruptedException+
KeeperException
IOException
InterruptedException
public void executeLine(String line) + throws InterruptedException, + IOException, + KeeperException+
InterruptedException
IOException
KeeperException
public static boolean delQuota(ZooKeeper zk, + String path, + boolean bytes, + boolean numNodes) + throws KeeperException, + IOException, + InterruptedException+
zk
- the zookeeper clientpath
- the path to delete quota forbytes
- true if number of bytes needs to
+ be unsetnumNodes
- true if number of nodes needs
+ to be unsetKeeperException
IOException
InterruptedException
public static boolean createQuota(ZooKeeper zk, + String path, + long bytes, + int numNodes) + throws KeeperException, + IOException, + InterruptedException+
zk
- the ZooKeeper clientpath
- the path for which quota needs to be createdbytes
- the limit of bytes on this pathnumNodes
- the limit of number of nodes on this pathKeeperException
IOException
InterruptedException
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,170 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.getACL(String path,
+ Stat stat,
+ AsyncCallback.ACLCallback cb,
+ Object ctx)
+The asynchronous version of getACL.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,179 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.getChildren(String path,
+ boolean watch,
+ AsyncCallback.Children2Callback cb,
+ Object ctx)
+The asynchronous version of getChildren.
+ |
+
void |
+ZooKeeper.getChildren(String path,
+ Watcher watcher,
+ AsyncCallback.Children2Callback cb,
+ Object ctx)
+The asynchronous version of getChildren.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,179 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.getChildren(String path,
+ boolean watch,
+ AsyncCallback.ChildrenCallback cb,
+ Object ctx)
+The asynchronous version of getChildren.
+ |
+
void |
+ZooKeeper.getChildren(String path,
+ Watcher watcher,
+ AsyncCallback.ChildrenCallback cb,
+ Object ctx)
+The asynchronous version of getChildren.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,179 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.getData(String path,
+ boolean watch,
+ AsyncCallback.DataCallback cb,
+ Object ctx)
+The asynchronous version of getData.
+ |
+
void |
+ZooKeeper.getData(String path,
+ Watcher watcher,
+ AsyncCallback.DataCallback cb,
+ Object ctx)
+The asynchronous version of getData.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,169 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.multi(Iterable<org.apache.zookeeper.Op> ops,
+ AsyncCallback.MultiCallback cb,
+ Object ctx)
+The asynchronous version of multi.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,199 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.exists(String path,
+ boolean watch,
+ AsyncCallback.StatCallback cb,
+ Object ctx)
+The asynchronous version of exists.
+ |
+
void |
+ZooKeeper.exists(String path,
+ Watcher watcher,
+ AsyncCallback.StatCallback cb,
+ Object ctx)
+The asynchronous version of exists.
+ |
+
void |
+ZooKeeper.setACL(String path,
+ List<ACL> acl,
+ int version,
+ AsyncCallback.StatCallback cb,
+ Object ctx)
+The asynchronous version of setACL.
+ |
+
void |
+ZooKeeper.setData(String path,
+ byte[] data,
+ int version,
+ AsyncCallback.StatCallback cb,
+ Object ctx)
+The asynchronous version of setData.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,172 @@ + + + + + +Package | +Description | +
---|---|
org.apache.zookeeper | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+ZooKeeper.create(String path,
+ byte[] data,
+ List<ACL> acl,
+ CreateMode createMode,
+ AsyncCallback.StringCallback cb,
+ Object ctx)
+The asynchronous version of create.
+ |
+
Copyright © 2015 The Apache Software Foundation
+ +