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 8B5BF200C56 for ; Thu, 30 Mar 2017 08:26:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A049160B9A; Thu, 30 Mar 2017 06:26:34 +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 71876160BA4 for ; Thu, 30 Mar 2017 08:26:32 +0200 (CEST) Received: (qmail 84085 invoked by uid 500); 30 Mar 2017 06:26:31 -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 81118 invoked by uid 99); 30 Mar 2017 06:26:26 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2017 06:26:26 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 6DE473A47E4 for ; Thu, 30 Mar 2017 06:26:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1009357 [16/43] - in /websites/staging/zookeeper/trunk/content: ./ doc/r3.4.10/ doc/r3.4.10/api/ doc/r3.4.10/api/org/ doc/r3.4.10/api/org/apache/ doc/r3.4.10/api/org/apache/zookeeper/ doc/r3.4.10/api/org/apache/zookeeper/class-use/ doc/r3.... Date: Thu, 30 Mar 2017 06:26:23 -0000 To: commits@zookeeper.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170330062625.6DE473A47E4@svn01-us-west.apache.org> archived-at: Thu, 30 Mar 2017 06:26:34 -0000 Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/ZooKeeperMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/ZooKeeperMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/ZooKeeperMain.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,439 @@ + + + + + + +ZooKeeperMain (ZooKeeper 3.4.10 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 © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,183 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.ACLCallback (ZooKeeper 3.4.10 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 © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,194 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.Children2Callback (ZooKeeper 3.4.10 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

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

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

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

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

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,194 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.ChildrenCallback (ZooKeeper 3.4.10 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 © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,194 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.DataCallback (ZooKeeper 3.4.10 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 © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.MultiCallback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,182 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.MultiCallback (ZooKeeper 3.4.10 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

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

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

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

+ + + + + + + + + +
Methods in org.apache.zookeeper with parameters of type AsyncCallback.MultiCallback
+ voidZooKeeper.multi(Iterable<org.apache.zookeeper.Op> ops, + AsyncCallback.MultiCallback cb, + Object ctx) + +
+          The asynchronous version of multi.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2017 The Apache Software Foundation + + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.10/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html Thu Mar 30 06:26:15 2017 @@ -0,0 +1,218 @@ + + + + + + +Uses of Interface org.apache.zookeeper.AsyncCallback.StatCallback (ZooKeeper 3.4.10 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 © 2017 The Apache Software Foundation + +