Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B655200D76 for ; Sun, 3 Dec 2017 21:12:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 89DED160C1F; Sun, 3 Dec 2017 20:12:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA1B7160BF8 for ; Sun, 3 Dec 2017 21:12:02 +0100 (CET) Received: (qmail 15276 invoked by uid 500); 3 Dec 2017 20:12:00 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 14179 invoked by uid 99); 3 Dec 2017 20:11:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2017 20:11:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 94866F60F8; Sun, 3 Dec 2017 20:11:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: phunt@apache.org To: commits@zookeeper.apache.org Date: Sun, 03 Dec 2017 20:11:57 -0000 Message-Id: In-Reply-To: <1dbe513a816a4312842fb2d1cf72242e@git.apache.org> References: <1dbe513a816a4312842fb2d1cf72242e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/51] [partial] zookeeper git commit: Added documentation page and reworked docs instructions to address jekyll issue #6586 archived-at: Sun, 03 Dec 2017 20:12:05 -0000 http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/ZooKeeperMain.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/ZooKeeperMain.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/ZooKeeperMain.html new file mode 100644 index 0000000..20a46b6 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/ZooKeeperMain.html @@ -0,0 +1,439 @@ + + + + + + +ZooKeeperMain (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper +
+Class ZooKeeperMain

+
+java.lang.Object
+  extended by org.apache.zookeeper.ZooKeeperMain
+
+
+
+
public class ZooKeeperMain
extends Object
+ + +

+The command line client to ZooKeeper. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ZooKeeperMain(String[] args) + +
+           
ZooKeeperMain(ZooKeeper zk) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleancreateQuota(ZooKeeper zk, + String path, + long bytes, + int numNodes) + +
+          this method creates a quota node for the path
+static booleandelQuota(ZooKeeper zk, + String path, + boolean bytes, + boolean numNodes) + +
+          this method deletes quota for a node.
+ voidexecuteLine(String line) + +
+           
+static List<String>getCommands() + +
+           
+ booleangetPrintWatches() + +
+           
+static voidmain(String[] args) + +
+           
+static voidprintMessage(String msg) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ZooKeeperMain

+
+public ZooKeeperMain(String[] args)
+              throws IOException,
+                     InterruptedException
+
+
+ +
Throws: +
IOException +
InterruptedException
+
+
+ +

+ZooKeeperMain

+
+public ZooKeeperMain(ZooKeeper zk)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPrintWatches

+
+public boolean getPrintWatches()
+
+
+
+
+
+
+ +

+getCommands

+
+public static List<String> getCommands()
+
+
+
+
+
+
+ +

+printMessage

+
+public static void printMessage(String msg)
+
+
+
+
+
+
+ +

+main

+
+public static void main(String[] args)
+                 throws KeeperException,
+                        IOException,
+                        InterruptedException
+
+
+ +
Throws: +
KeeperException +
IOException +
InterruptedException
+
+
+
+ +

+executeLine

+
+public void executeLine(String line)
+                 throws InterruptedException,
+                        IOException,
+                        KeeperException
+
+
+ +
Throws: +
InterruptedException +
IOException +
KeeperException
+
+
+
+ +

+delQuota

+
+public static boolean delQuota(ZooKeeper zk,
+                               String path,
+                               boolean bytes,
+                               boolean numNodes)
+                        throws KeeperException,
+                               IOException,
+                               InterruptedException
+
+
this method deletes quota for a node. +

+

+
Parameters:
zk - the zookeeper client
path - the path to delete quota for
bytes - true if number of bytes needs to + be unset
numNodes - true if number of nodes needs + to be unset +
Returns:
true if quota deletion is successful +
Throws: +
KeeperException +
IOException +
InterruptedException
+
+
+
+ +

+createQuota

+
+public static boolean createQuota(ZooKeeper zk,
+                                  String path,
+                                  long bytes,
+                                  int numNodes)
+                           throws KeeperException,
+                                  IOException,
+                                  InterruptedException
+
+
this method creates a quota node for the path +

+

+
Parameters:
zk - the ZooKeeper client
path - the path for which quota needs to be created
bytes - the limit of bytes on this path
numNodes - the limit of number of nodes on this path +
Returns:
true if its successful and false if not. +
Throws: +
KeeperException +
IOException +
InterruptedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html new file mode 100644 index 0000000..d351ef2 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.ACLCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.ACLCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.ACLCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.ACLCallback in org.apache.zookeeper
+  +

+ + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.ACLCallback
+ voidZooKeeper.getACL(String path, + Stat stat, + AsyncCallback.ACLCallback cb, + Object ctx) + +
+          The Asynchronous version of getACL.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html new file mode 100644 index 0000000..88f95d5 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html @@ -0,0 +1,194 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.ChildrenCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.ChildrenCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.ChildrenCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.ChildrenCallback in org.apache.zookeeper
+  +

+ + + + + + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.ChildrenCallback
+ voidZooKeeper.getChildren(String path, + boolean watch, + AsyncCallback.ChildrenCallback cb, + Object ctx) + +
+          The Asynchronous version of getChildren.
+ voidZooKeeper.getChildren(String path, + Watcher watcher, + AsyncCallback.ChildrenCallback cb, + Object ctx) + +
+          The Asynchronous version of getChildren.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html new file mode 100644 index 0000000..c52c905 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html @@ -0,0 +1,194 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.DataCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.DataCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.DataCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.DataCallback in org.apache.zookeeper
+  +

+ + + + + + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.DataCallback
+ voidZooKeeper.getData(String path, + boolean watch, + AsyncCallback.DataCallback cb, + Object ctx) + +
+          The Asynchronous version of getData.
+ voidZooKeeper.getData(String path, + Watcher watcher, + AsyncCallback.DataCallback cb, + Object ctx) + +
+          The Asynchronous version of getData.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html new file mode 100644 index 0000000..5e7a3a4 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html @@ -0,0 +1,218 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.StatCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.StatCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.StatCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.StatCallback in org.apache.zookeeper
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.StatCallback
+ voidZooKeeper.exists(String path, + boolean watch, + AsyncCallback.StatCallback cb, + Object ctx) + +
+          The Asynchronous version of exists.
+ voidZooKeeper.exists(String path, + Watcher watcher, + AsyncCallback.StatCallback cb, + Object ctx) + +
+          The Asynchronous version of exists.
+ voidZooKeeper.setACL(String path, + List<ACL> acl, + int version, + AsyncCallback.StatCallback cb, + Object ctx) + +
+          The Asynchronous version of setACL.
+ voidZooKeeper.setData(String path, + byte[] data, + int version, + AsyncCallback.StatCallback cb, + Object ctx) + +
+          The Asynchronous version of setData.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html new file mode 100644 index 0000000..cf32af1 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html @@ -0,0 +1,185 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.StringCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.StringCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.StringCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.StringCallback in org.apache.zookeeper
+  +

+ + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.StringCallback
+ voidZooKeeper.create(String path, + byte[] data, + List<ACL> acl, + CreateMode createMode, + AsyncCallback.StringCallback cb, + Object ctx) + +
+          The Asynchronous version of create.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/af1e0ff1/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.VoidCallback.html ---------------------------------------------------------------------- diff --git a/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.VoidCallback.html b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.VoidCallback.html new file mode 100644 index 0000000..d6abf25 --- /dev/null +++ b/_released_docs/r3.2.2/api/org/apache/zookeeper/class-use/AsyncCallback.VoidCallback.html @@ -0,0 +1,193 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.VoidCallback (ZooKeeper 3.2.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.apache.zookeeper.AsyncCallback.VoidCallback

+
+ + + + + + + + + +
+Packages that use AsyncCallback.VoidCallback
org.apache.zookeeper  
+  +

+ + + + + +
+Uses of AsyncCallback.VoidCallback in org.apache.zookeeper
+  +

+ + + + + + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.VoidCallback
+ voidZooKeeper.delete(String path, + int version, + AsyncCallback.VoidCallback cb, + Object ctx) + +
+          The Asynchronous version of delete.
+ voidZooKeeper.sync(String path, + AsyncCallback.VoidCallback cb, + Object ctx) + +
+          Asynchronous sync.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2009 The Apache Software Foundation + +