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 7170A200C59 for ; Mon, 17 Apr 2017 19:22:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70119160BBE; Mon, 17 Apr 2017 17:22:16 +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 0CC52160BB1 for ; Mon, 17 Apr 2017 19:22:13 +0200 (CEST) Received: (qmail 54784 invoked by uid 500); 17 Apr 2017 17:22:13 -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 54634 invoked by uid 99); 17 Apr 2017 17:22:13 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2017 17:22:13 +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 2AA9E3A51EB for ; Mon, 17 Apr 2017 17:22:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1010623 [5/50] - in /websites/staging/zookeeper/trunk/content: ./ doc/r3.5.3-beta/ doc/r3.5.3-beta/api/ doc/r3.5.3-beta/api/org/ doc/r3.5.3-beta/api/org/apache/ doc/r3.5.3-beta/api/org/apache/zookeeper/ doc/r3.5.3-beta/api/org/apache/zooke... Date: Mon, 17 Apr 2017 17:22:10 -0000 To: commits@zookeeper.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170417172212.2AA9E3A51EB@svn01-us-west.apache.org> archived-at: Mon, 17 Apr 2017 17:22:16 -0000 Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StatCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StatCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StatCallback.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,261 @@ + + + + + +AsyncCallback.StatCallback (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface AsyncCallback.StatCallback

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    AsyncCallback
    +
    +
    +
    Enclosing interface:
    +
    AsyncCallback
    +
    +
    +
    +
    public static interface AsyncCallback.StatCallback
    +extends AsyncCallback
    +
    This callback is used to retrieve the stat of the node.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        processResult

        +
        void processResult(int rc,
        +                 String path,
        +                 Object ctx,
        +                 Stat stat)
        +
        Process the result of the asynchronous call. +

        + On success, rc is + KeeperException.Code.OK. +

        + On failure, rc is set to the corresponding failure code in + KeeperException. +

        +
        Parameters:
        rc - The return code or the result of the call.
        path - The path that we passed to asynchronous calls.
        ctx - Whatever context object that we passed to + asynchronous calls.
        stat - Stat object of + the node on given path.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StringCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StringCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.StringCallback.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,266 @@ + + + + + +AsyncCallback.StringCallback (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface AsyncCallback.StringCallback

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    AsyncCallback
    +
    +
    +
    Enclosing interface:
    +
    AsyncCallback
    +
    +
    +
    +
    public static interface AsyncCallback.StringCallback
    +extends AsyncCallback
    +
    This callback is used to retrieve the name of the node.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        processResult

        +
        void processResult(int rc,
        +                 String path,
        +                 Object ctx,
        +                 String name)
        +
        Process the result of the asynchronous call. +

        + On success, rc is + KeeperException.Code.OK. +

        + On failure, rc is set to the corresponding failure code in + KeeperException. +

        +
        Parameters:
        rc - The return code or the result of the call.
        path - The path that we passed to asynchronous calls.
        ctx - Whatever context object that we passed to + asynchronous calls.
        name - The name of the Znode that was created. + On success, name and path are usually + equal, unless a sequential node has been created.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.VoidCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.VoidCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.VoidCallback.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,266 @@ + + + + + +AsyncCallback.VoidCallback (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface AsyncCallback.VoidCallback

+
+
+
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/AsyncCallback.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,244 @@ + + + + + +AsyncCallback (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface AsyncCallback

+
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/CreateMode.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/CreateMode.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/CreateMode.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,520 @@ + + + + + +CreateMode (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Enum CreateMode

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        PERSISTENT

        +
        public static final CreateMode PERSISTENT
        +
        The znode will not be automatically deleted upon client's disconnect.
        +
      • +
      + + + +
        +
      • +

        PERSISTENT_SEQUENTIAL

        +
        public static final CreateMode PERSISTENT_SEQUENTIAL
        +
        The znode will not be automatically deleted upon client's disconnect, + and its name will be appended with a monotonically increasing number.
        +
      • +
      + + + +
        +
      • +

        EPHEMERAL

        +
        public static final CreateMode EPHEMERAL
        +
        The znode will be deleted upon the client's disconnect.
        +
      • +
      + + + +
        +
      • +

        EPHEMERAL_SEQUENTIAL

        +
        public static final CreateMode EPHEMERAL_SEQUENTIAL
        +
        The znode will be deleted upon the client's disconnect, and its name + will be appended with a monotonically increasing number.
        +
      • +
      + + + +
        +
      • +

        CONTAINER

        +
        public static final CreateMode CONTAINER
        +
        The znode will be a container node. Container + nodes are special purpose nodes useful for recipes such as leader, lock, + etc. When the last child of a container is deleted, the container becomes + a candidate to be deleted by the server at some point in the future. + Given this property, you should be prepared to get + KeeperException.NoNodeException + when creating children inside of this container node.
        +
      • +
      + + + +
        +
      • +

        PERSISTENT_WITH_TTL

        +
        public static final CreateMode PERSISTENT_WITH_TTL
        +
        The znode will not be automatically deleted upon client's disconnect. + However if the znode has not been modified within the given TTL, it + will be deleted once it has no children.
        +
      • +
      + + + +
        +
      • +

        PERSISTENT_SEQUENTIAL_WITH_TTL

        +
        public static final CreateMode PERSISTENT_SEQUENTIAL_WITH_TTL
        +
        The znode will not be automatically deleted upon client's disconnect, + and its name will be appended with a monotonically increasing number. + However if the znode has not been modified within the given TTL, it + will be deleted once it has no children.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static CreateMode[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (CreateMode c : CreateMode.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static CreateMode valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
      • +
      + + + +
        +
      • +

        isEphemeral

        +
        public boolean isEphemeral()
        +
      • +
      + + + +
        +
      • +

        isSequential

        +
        public boolean isSequential()
        +
      • +
      + + + +
        +
      • +

        isContainer

        +
        public boolean isContainer()
        +
      • +
      + + + +
        +
      • +

        isTTL

        +
        public boolean isTTL()
        +
      • +
      + + + +
        +
      • +

        toFlag

        +
        public int toFlag()
        +
      • +
      + + + + + + + +
        +
      • +

        fromFlag

        +
        public static CreateMode fromFlag(int flag,
        +                  CreateMode defaultMode)
        +
        Map an integer value to a CreateMode value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ +