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 42AD9200D62 for ; Fri, 17 Nov 2017 01:09:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 41809160C16; Fri, 17 Nov 2017 00:09:50 +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 B003B160C17 for ; Fri, 17 Nov 2017 01:09:47 +0100 (CET) Received: (qmail 10995 invoked by uid 500); 17 Nov 2017 00:09:46 -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 10781 invoked by uid 99); 17 Nov 2017 00:09:46 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 00:09:46 +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 20B323A1768 for ; Fri, 17 Nov 2017 00:09:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1020972 [20/42] - in /websites/staging/zookeeper/trunk/content: ./ doc/r3.4.11/ doc/r3.4.11/api/ doc/r3.4.11/api/org/ doc/r3.4.11/api/org/apache/ doc/r3.4.11/api/org/apache/jute/ doc/r3.4.11/api/org/apache/jute/class-use/ doc/r3.4.11/api/o... Date: Fri, 17 Nov 2017 00:09:37 -0000 To: commits@zookeeper.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20171117000942.20B323A1768@svn01-us-west.apache.org> archived-at: Fri, 17 Nov 2017 00:09:50 -0000 Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/Watcher.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/Watcher.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/Watcher.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,284 @@ + + + + + +Uses of Interface org.apache.zookeeper.Watcher (ZooKeeper 3.4.11 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 © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.Ids (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

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

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

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.OpCode (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

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

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

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,125 @@ + + + + + +Uses of Interface org.apache.zookeeper.ZooDefs.Perms (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

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

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

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooDefs.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooDefs (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooDefs

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

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.States.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.States.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.States.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,178 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeper.States (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

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

+
+
+ +
+ + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeper.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,190 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeper (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooKeeper

+
+
+ +
+ + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeperMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeperMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/class-use/ZooKeeperMain.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.ZooKeeperMain (ZooKeeper 3.4.11 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.ZooKeeperMain

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

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/FourLetterWordMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/FourLetterWordMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/FourLetterWordMain.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,343 @@ + + + + + +FourLetterWordMain (ZooKeeper 3.4.11 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 © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/HostProvider.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/HostProvider.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.11/api/org/apache/zookeeper/client/HostProvider.html Fri Nov 17 00:09:32 2017 @@ -0,0 +1,284 @@ + + + + + +HostProvider (ZooKeeper 3.4.11 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.
        +
        +
      • +
      + + + +
        +
      • +

        onConnected

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

Copyright © 2017 The Apache Software Foundation

+ +