From commits-return-6596-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 6F3BA1807B4 for ; Mon, 16 Jul 2018 06:30:05 +0200 (CEST) Received: (qmail 65715 invoked by uid 500); 16 Jul 2018 04:30:03 -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 63659 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 E7BB0E10B5; 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:15 -0000 Message-Id: <9da980236a4c42258fd35d2e6a4f956f@git.apache.org> In-Reply-To: <3c3ee512583b41229bdb3c29e4baa35f@git.apache.org> References: <3c3ee512583b41229bdb3c29e4baa35f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [16/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/client/StaticHostProvider.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/StaticHostProvider.html b/content/build/docs/api/org/apache/zookeeper/client/StaticHostProvider.html new file mode 100644 index 0000000..1be8684 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/StaticHostProvider.html @@ -0,0 +1,372 @@ + + + + + +StaticHostProvider (ZooKeeper 3.4.13 API) + + + + + + + + + + + + +
+
org.apache.zookeeper.client
+

Class StaticHostProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.zookeeper.client.StaticHostProvider
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    HostProvider
    +
    +
    +
    +
    @InterfaceAudience.Public
    +public final class StaticHostProvider
    +extends java.lang.Object
    +implements HostProvider
    +
    Most simple HostProvider, resolves on every next() call. + + Please be aware that although this class doesn't do any DNS caching, there're multiple levels of caching already + present across the stack like in JVM, OS level, hardware, etc. The best we could do here is to get the most recent + address from the underlying system which is considered up-to-date.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      StaticHostProvider(java.util.Collection<java.net.InetSocketAddress> serverAddresses) +
      Constructs a SimpleHostSet.
      +
      StaticHostProvider(java.util.Collection<java.net.InetSocketAddress> serverAddresses, + org.apache.zookeeper.client.StaticHostProvider.Resolver resolver) +
      Introduced for testing purposes.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete 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() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        StaticHostProvider

        +
        public StaticHostProvider(java.util.Collection<java.net.InetSocketAddress> serverAddresses)
        +
        Constructs a SimpleHostSet.
        +
        +
        Parameters:
        +
        serverAddresses - possibly unresolved ZooKeeper server addresses
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if serverAddresses is empty or resolves to an empty list
        +
        +
      • +
      + + + +
        +
      • +

        StaticHostProvider

        +
        public StaticHostProvider(java.util.Collection<java.net.InetSocketAddress> serverAddresses,
        +                          org.apache.zookeeper.client.StaticHostProvider.Resolver resolver)
        +
        Introduced for testing purposes. getAllByName() is a static method of InetAddress, therefore cannot be easily mocked. + By abstraction of Resolver interface we can easily inject a mocked implementation in tests.
        +
        +
        Parameters:
        +
        serverAddresses - possibly unresolved ZooKeeper server addresses
        +
        resolver - custom resolver implementation
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if serverAddresses is empty or resolves to an empty list
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        size

        +
        public int size()
        +
        +
        Specified by:
        +
        size in interface HostProvider
        +
        +
      • +
      + + + +
        +
      • +

        next

        +
        public java.net.InetSocketAddress next(long spinDelay)
        +
        Description copied from interface: HostProvider
        +
        The next host to try to connect to. + + For a spinDelay of 0 there should be no wait.
        +
        +
        Specified by:
        +
        next in interface HostProvider
        +
        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

        +
        public void onConnected()
        +
        Description copied from interface: HostProvider
        +
        Notify the HostProvider of a successful connection. + + The HostProvider may use this notification to reset it's inner state.
        +
        +
        Specified by:
        +
        onConnected in interface HostProvider
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

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/class-use/FourLetterWordMain.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/class-use/FourLetterWordMain.html b/content/build/docs/api/org/apache/zookeeper/client/class-use/FourLetterWordMain.html new file mode 100644 index 0000000..b992af7 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/class-use/FourLetterWordMain.html @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.client.FourLetterWordMain (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.client.FourLetterWordMain

+
+
No usage of org.apache.zookeeper.client.FourLetterWordMain
+ + + + +

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/class-use/HostProvider.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/class-use/HostProvider.html b/content/build/docs/api/org/apache/zookeeper/client/class-use/HostProvider.html new file mode 100644 index 0000000..5d9eaeb --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/class-use/HostProvider.html @@ -0,0 +1,167 @@ + + + + + +Uses of Interface org.apache.zookeeper.client.HostProvider (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Interface
org.apache.zookeeper.client.HostProvider

+
+
+ +
+ + + + +

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/class-use/StaticHostProvider.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/class-use/StaticHostProvider.html b/content/build/docs/api/org/apache/zookeeper/client/class-use/StaticHostProvider.html new file mode 100644 index 0000000..f622ec7 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/class-use/StaticHostProvider.html @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.client.StaticHostProvider (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.client.StaticHostProvider

+
+
No usage of org.apache.zookeeper.client.StaticHostProvider
+ + + + +

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/package-frame.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/package-frame.html b/content/build/docs/api/org/apache/zookeeper/client/package-frame.html new file mode 100644 index 0000000..f0a7834 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/package-frame.html @@ -0,0 +1,25 @@ + + + + + +org.apache.zookeeper.client (ZooKeeper 3.4.13 API) + + + + + +

org.apache.zookeeper.client

+
+

Interfaces

+ +

Classes

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

Package org.apache.zookeeper.client

+
+
+
    +
  • + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    HostProvider +
    A set of hosts a ZooKeeper client should connect to.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    FourLetterWordMain 
    StaticHostProvider +
    Most simple HostProvider, resolves on every next() call.
    +
    +
  • +
+
+ + + + +

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/package-tree.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/package-tree.html b/content/build/docs/api/org/apache/zookeeper/client/package-tree.html new file mode 100644 index 0000000..5470540 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/package-tree.html @@ -0,0 +1,143 @@ + + + + + +org.apache.zookeeper.client Class Hierarchy (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Hierarchy For Package org.apache.zookeeper.client

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ + + + +

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/package-use.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/client/package-use.html b/content/build/docs/api/org/apache/zookeeper/client/package-use.html new file mode 100644 index 0000000..d9572d8 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/client/package-use.html @@ -0,0 +1,160 @@ + + + + + +Uses of Package org.apache.zookeeper.client (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Uses of Package
org.apache.zookeeper.client

+
+
+ +
+ + + + +

Copyright © 2018 The Apache Software Foundation

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

org.apache.zookeeper.common

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

Package org.apache.zookeeper.common

+
+ + + + +

Copyright © 2018 The Apache Software Foundation

+ + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/c9914857/content/build/docs/api/org/apache/zookeeper/common/package-tree.html ---------------------------------------------------------------------- diff --git a/content/build/docs/api/org/apache/zookeeper/common/package-tree.html b/content/build/docs/api/org/apache/zookeeper/common/package-tree.html new file mode 100644 index 0000000..63590b9 --- /dev/null +++ b/content/build/docs/api/org/apache/zookeeper/common/package-tree.html @@ -0,0 +1,128 @@ + + + + + +org.apache.zookeeper.common Class Hierarchy (ZooKeeper 3.4.13 API) + + + + + + + + + + + +
+

Hierarchy For Package org.apache.zookeeper.common

+Package Hierarchies: + +
+ + + + +

Copyright © 2018 The Apache Software Foundation

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

Uses of Package
org.apache.zookeeper.common

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

Copyright © 2018 The Apache Software Foundation

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

Class ACL

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.zookeeper.data.ACL
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Record
    +
    +
    +
    +
    @InterfaceAudience.Public
    +public class ACL
    +extends java.lang.Object
    +implements Record
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ACL() 
      ACL(int perms, + Id id) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intcompareTo(java.lang.Object peer_) 
      voiddeserialize(org.apache.jute.InputArchive a_, + java.lang.String tag) 
      booleanequals(java.lang.Object peer_) 
      IdgetId() 
      intgetPerms() 
      inthashCode() 
      voidreadFields(java.io.DataInput in) 
      voidserialize(org.apache.jute.OutputArchive a_, + java.lang.String tag) 
      voidsetId(Id m_) 
      voidsetPerms(int m_) 
      static java.lang.Stringsignature() 
      java.lang.StringtoString() 
      voidwrite(java.io.DataOutput out) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ACL

        +
        public ACL()
        +
      • +
      + + + +
        +
      • +

        ACL

        +
        public ACL(int perms,
        +           Id id)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPerms

        +
        public int getPerms()
        +
      • +
      + + + +
        +
      • +

        setPerms

        +
        public void setPerms(int m_)
        +
      • +
      + + + +
        +
      • +

        getId

        +
        public Id getId()
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(Id m_)
        +
      • +
      + + + +
        +
      • +

        serialize

        +
        public void serialize(org.apache.jute.OutputArchive a_,
        +                      java.lang.String tag)
        +               throws java.io.IOException
        +
        +
        Specified by:
        +
        serialize in interface Record
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        deserialize

        +
        public void deserialize(org.apache.jute.InputArchive a_,
        +                        java.lang.String tag)
        +                 throws java.io.IOException
        +
        +
        Specified by:
        +
        deserialize in interface Record
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(java.io.DataOutput out)
        +           throws java.io.IOException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        readFields

        +
        public void readFields(java.io.DataInput in)
        +                throws java.io.IOException
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        compareTo

        +
        public int compareTo(java.lang.Object peer_)
        +              throws java.lang.ClassCastException
        +
        +
        Throws:
        +
        java.lang.ClassCastException
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object peer_)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        signature

        +
        public static java.lang.String signature()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2018 The Apache Software Foundation

+ +