From commits-return-6597-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Jul 16 06:30:07 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 79A3B1807B5 for ; Mon, 16 Jul 2018 06:30:05 +0200 (CEST) Received: (qmail 65727 invoked by uid 500); 16 Jul 2018 04:30:04 -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 63657 invoked by uid 99); 16 Jul 2018 04:30:01 -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; Mon, 16 Jul 2018 04:30:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EC5B0E10F5; Mon, 16 Jul 2018 04:30:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hanm@apache.org To: commits@zookeeper.apache.org Date: Mon, 16 Jul 2018 04:30:16 -0000 Message-Id: <718fc6f862054f2a8ebaa19424569513@git.apache.org> In-Reply-To: <3c3ee512583b41229bdb3c29e4baa35f@git.apache.org> References: <3c3ee512583b41229bdb3c29e4baa35f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [17/51] [partial] zookeeper git commit: Website update for release 3.4.13. http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/Watcher.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/Watcher.html b/content/build/docs/api/org/apache/zookeeper/class-use/Watcher.html new file mode 100644 index 0000000..516cc5c --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/Watcher.html @@ -0,0 +1,284 @@ + + + + + +Uses of Interface org.apache.zookeeper.Watcher (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Interface
org.apache.zookeeper.Watcher

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use Watcher 
    PackageDescription
    org.apache.zookeeper 
    +
  • +
  • +
      +
    • + + +

      Uses of Watcher in org.apache.zookeeper

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.apache.zookeeper with parameters of type Watcher 
      Modifier and TypeMethod and Description
      StatZooKeeper.exists(java.lang.String path, + Watcher watcher) +
      Return the stat of the node of the given path.
      +
      voidZooKeeper.exists(java.lang.String path, + Watcher watcher, + AsyncCallback.StatCallback cb, + java.lang.Object ctx) +
      The asynchronous version of exists.
      +
      java.util.List<java.lang.String>ZooKeeper.getChildren(java.lang.String path, + Watcher watcher) +
      Return the list of the children of the node of the given path.
      +
      voidZooKeeper.getChildren(java.lang.String path, + Watcher watcher, + AsyncCallback.Children2Callback cb, + java.lang.Object ctx) +
      The asynchronous version of getChildren.
      +
      voidZooKeeper.getChildren(java.lang.String path, + Watcher watcher, + AsyncCallback.ChildrenCallback cb, + java.lang.Object ctx) +
      The asynchronous version of getChildren.
      +
      java.util.List<java.lang.String>ZooKeeper.getChildren(java.lang.String path, + Watcher watcher, + Stat stat) +
      For the given znode path return the stat and children list.
      +
      voidZooKeeper.getData(java.lang.String path, + Watcher watcher, + AsyncCallback.DataCallback cb, + java.lang.Object ctx) +
      The asynchronous version of getData.
      +
      byte[]ZooKeeper.getData(java.lang.String path, + Watcher watcher, + Stat stat) +
      Return the data and the stat of the node of the given path.
      +
      voidZooKeeper.register(Watcher watcher) +
      Specify the default watcher for the connection (overrides the one + specified during construction).
      +
      + + + + + + + + + + + + + + + + + + + +
      Constructors in org.apache.zookeeper with parameters of type Watcher 
      Constructor and Description
      ZooKeeper(java.lang.String connectString, + int sessionTimeout, + Watcher watcher) +
      To create a ZooKeeper client object, the application needs to pass a + connection string containing a comma separated list of host:port pairs, + each corresponding to a ZooKeeper server.
      +
      ZooKeeper(java.lang.String connectString, + int sessionTimeout, + Watcher watcher, + boolean canBeReadOnly) +
      To create a ZooKeeper client object, the application needs to pass a + connection string containing a comma separated list of host:port pairs, + each corresponding to a ZooKeeper server.
      +
      ZooKeeper(java.lang.String connectString, + int sessionTimeout, + Watcher watcher, + long sessionId, + byte[] sessionPasswd) +
      To create a ZooKeeper client object, the application needs to pass a + connection string containing a comma separated list of host:port pairs, + each corresponding to a ZooKeeper server.
      +
      ZooKeeper(java.lang.String connectString, + int sessionTimeout, + Watcher watcher, + long sessionId, + byte[] sessionPasswd, + boolean canBeReadOnly) +
      To create a ZooKeeper client object, the application needs to pass a + connection string containing a comma separated list of host:port pairs, + each corresponding to a ZooKeeper server.
      +
      +
    • +
    +
  • +
+
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html new file mode 100644 index 0000000..b783feb --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.Ids (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Interface
org.apache.zookeeper.ZooDefs.Ids

+
+
No usage of org.apache.zookeeper.ZooDefs.Ids
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html new file mode 100644 index 0000000..c66acb1 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.OpCode (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Interface
org.apache.zookeeper.ZooDefs.OpCode

+
+
No usage of org.apache.zookeeper.ZooDefs.OpCode
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html new file mode 100644 index 0000000..31f5acf --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.Perms (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Interface
org.apache.zookeeper.ZooDefs.Perms

+
+
No usage of org.apache.zookeeper.ZooDefs.Perms
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.html new file mode 100644 index 0000000..f78da84 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooDefs.html @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooDefs (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooDefs

+
+
No usage of org.apache.zookeeper.ZooDefs
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.States.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.States.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.States.html new file mode 100644 index 0000000..983264c --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.States.html @@ -0,0 +1,178 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeper.States (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooKeeper.States

+
+
+ +
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.html new file mode 100644 index 0000000..dbb8533 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeper.html @@ -0,0 +1,190 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeper (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooKeeper

+
+
+ +
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeperMain.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeperMain.html b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeperMain.html new file mode 100644 index 0000000..103fec1 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/class-use/ZooKeeperMain.html @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeperMain (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooKeeperMain

+
+
No usage of org.apache.zookeeper.ZooKeeperMain
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/client/FourLetterWordMain.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/FourLetterWordMain.html b/content/build/docs/api/org/apache/zookeeper/client/FourLetterWordMain.html new file mode 100644 index 0000000..b706b17 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/FourLetterWordMain.html @@ -0,0 +1,343 @@ + + + + + +FourLetterWordMain (ZooKeeper 3.4.13 API) + + + + + + + + + + + + +
+
org.apache.zookeeper.client
+

Class FourLetterWordMain

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.zookeeper.client.FourLetterWordMain
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @InterfaceAudience.Public
    +public class FourLetterWordMain
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FourLetterWordMain() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      static java.lang.Stringsend4LetterWord(java.lang.String host, + int port, + java.lang.String cmd) +
      Send the 4letterword
      +
      static java.lang.Stringsend4LetterWord(java.lang.String host, + int port, + java.lang.String cmd, + int timeout) +
      Send the 4letterword
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FourLetterWordMain

        +
        public FourLetterWordMain()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        send4LetterWord

        +
        public static java.lang.String send4LetterWord(java.lang.String host,
        +                                               int port,
        +                                               java.lang.String cmd)
        +                                        throws java.io.IOException
        +
        Send the 4letterword
        +
        +
        Parameters:
        +
        host - the destination host
        +
        port - the destination port
        +
        cmd - the 4letterword
        +
        Returns:
        +
        server response
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        send4LetterWord

        +
        public static java.lang.String send4LetterWord(java.lang.String host,
        +                                               int port,
        +                                               java.lang.String cmd,
        +                                               int timeout)
        +                                        throws java.io.IOException
        +
        Send the 4letterword
        +
        +
        Parameters:
        +
        host - the destination host
        +
        port - the destination port
        +
        cmd - the 4letterword
        +
        timeout - in milliseconds, maximum time to wait while connecting/reading data
        +
        Returns:
        +
        server response
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +                 throws java.io.IOException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/client/HostProvider.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/HostProvider.html b/content/build/docs/api/org/apache/zookeeper/client/HostProvider.html new file mode 100644 index 0000000..4be3abf --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/HostProvider.html @@ -0,0 +1,287 @@ + + + + + +HostProvider (ZooKeeper 3.4.13 API) + + + + + + + + + + + + +
+
org.apache.zookeeper.client
+

Interface HostProvider

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    StaticHostProvider
    +
    +
    +
    +
    @InterfaceAudience.Public
    +public interface HostProvider
    +
    A set of hosts a ZooKeeper client should connect to. + + Classes implementing this interface must guarantee the following: + + * Every call to next() returns an InetSocketAddress. So the iterator never + ends. + + * The size() of a HostProvider may never be zero. + + A HostProvider must return resolved InetSocketAddress instances on next(), + but it's up to the HostProvider, when it wants to do the resolving. + + Different HostProvider could be imagined: + + * A HostProvider that loads the list of Hosts from an URL or from DNS + * A HostProvider that re-resolves the InetSocketAddress after a timeout. + * A HostProvider that prefers nearby hosts.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      java.net.InetSocketAddressnext(long spinDelay) +
      The next host to try to connect to.
      +
      voidonConnected() +
      Notify the HostProvider of a successful connection.
      +
      intsize() 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        size

        +
        int size()
        +
      • +
      + + + +
        +
      • +

        next

        +
        java.net.InetSocketAddress next(long spinDelay)
        +
        The next host to try to connect to. + + For a spinDelay of 0 there should be no wait.
        +
        +
        Parameters:
        +
        spinDelay - Milliseconds to wait if all hosts have been tried once.
        +
        Returns:
        +
        The next host to try to connect to with resolved address. If the host is not resolvable, the unresolved + address will be returned.
        +
        +
      • +
      + + + +
        +
      • +

        onConnected

        +
        void onConnected()
        +
        Notify the HostProvider of a successful connection. + + The HostProvider may use this notification to reset it's inner state.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2018 The Apache Software Foundation

+ +