Return-Path: X-Original-To: apmail-zookeeper-commits-archive@www.apache.org Delivered-To: apmail-zookeeper-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D18B5183AB for ; Thu, 3 Dec 2015 04:37:31 +0000 (UTC) Received: (qmail 32742 invoked by uid 500); 3 Dec 2015 04:37:31 -0000 Delivered-To: apmail-zookeeper-commits-archive@zookeeper.apache.org Received: (qmail 32712 invoked by uid 500); 3 Dec 2015 04:37: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@ Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 32697 invoked by uid 99); 3 Dec 2015 04:37:31 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 04:37:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 27CB1CC2A4 for ; Thu, 3 Dec 2015 04:37:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.991 X-Spam-Level: ** X-Spam-Status: No, score=2.991 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, KAM_MANYCOMMENTS=1.2, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BaCBF_JYtbRr for ; Thu, 3 Dec 2015 04:37:20 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 0CCD742BC2 for ; Thu, 3 Dec 2015 04:37:20 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 06C2DE1044 for ; Thu, 3 Dec 2015 04:37:19 +0000 (UTC) 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 E15513A2338 for ; Thu, 3 Dec 2015 04:37:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r974352 [13/42] - in /websites/production/zookeeper/content/doc: ./ r3.4.7/ r3.4.7/api/ r3.4.7/api/org/ r3.4.7/api/org/apache/ r3.4.7/api/org/apache/zookeeper/ r3.4.7/api/org/apache/zookeeper/class-use/ r3.4.7/api/org/apache/zookeeper/clien... Date: Thu, 03 Dec 2015 04:37:16 -0000 To: commits@zookeeper.apache.org From: rgs@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20151203043718.E15513A2338@svn01-us-west.apache.org> Added: websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/WatchedEvent.html ============================================================================== --- websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/WatchedEvent.html (added) +++ websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/WatchedEvent.html Thu Dec 3 04:37:13 2015 @@ -0,0 +1,357 @@ + + + + + +WatchedEvent (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper
+

Class WatchedEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class WatchedEvent
    +extends Object
    +
    A WatchedEvent represents a change on the ZooKeeper that a Watcher + is able to respond to. The WatchedEvent includes exactly what happened, + the current state of the ZooKeeper, and the path of the znode that + was involved in the event.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + + + + + +
        +
      • +

        WatchedEvent

        +
        public WatchedEvent(org.apache.zookeeper.proto.WatcherEvent eventMessage)
        +
        Convert a WatcherEvent sent over the wire into a full-fledged WatcherEvent
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.EventType.html ============================================================================== --- websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.EventType.html (added) +++ websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.EventType.html Thu Dec 3 04:37:13 2015 @@ -0,0 +1,409 @@ + + + + + +Watcher.Event.EventType (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper
+

Enum Watcher.Event.EventType

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

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Watcher.Event.EventType[] 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 (Watcher.Event.EventType c : Watcher.Event.EventType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Watcher.Event.EventType 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
        +
        +
      • +
      + + + +
        +
      • +

        getIntValue

        +
        public int getIntValue()
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.KeeperState.html ============================================================================== --- websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.KeeperState.html (added) +++ websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.KeeperState.html Thu Dec 3 04:37:13 2015 @@ -0,0 +1,492 @@ + + + + + +Watcher.Event.KeeperState (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper
+

Enum Watcher.Event.KeeperState

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

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        Disconnected

        +
        public static final Watcher.Event.KeeperState Disconnected
        +
        The client is in the disconnected state - it is not connected + to any server in the ensemble.
        +
      • +
      + + + + + + + +
        +
      • +

        SyncConnected

        +
        public static final Watcher.Event.KeeperState SyncConnected
        +
        The client is in the connected state - it is connected + to a server in the ensemble (one of the servers specified + in the host connection parameter during ZooKeeper client + creation).
        +
      • +
      + + + + + + + +
        +
      • +

        ConnectedReadOnly

        +
        public static final Watcher.Event.KeeperState ConnectedReadOnly
        +
        The client is connected to a read-only server, that is the + server which is not currently connected to the majority. + The only operations allowed after receiving this state is + read operations. + This state is generated for read-only clients only since + read/write clients aren't allowed to connect to r/o servers.
        +
      • +
      + + + +
        +
      • +

        SaslAuthenticated

        +
        public static final Watcher.Event.KeeperState SaslAuthenticated
        +
        SaslAuthenticated: used to notify clients that they are SASL-authenticated, + so that they can perform Zookeeper actions with their SASL-authorized permissions.
        +
      • +
      + + + +
        +
      • +

        Expired

        +
        public static final Watcher.Event.KeeperState Expired
        +
        The serving cluster has expired this session. The ZooKeeper + client connection (the session) is no longer valid. You must + create a new client connection (instantiate a new ZooKeeper + instance) if you with to access the ensemble.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Watcher.Event.KeeperState[] 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 (Watcher.Event.KeeperState c : Watcher.Event.KeeperState.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Watcher.Event.KeeperState 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
        +
        +
      • +
      + + + +
        +
      • +

        getIntValue

        +
        public int getIntValue()
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.html ============================================================================== --- websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.html (added) +++ websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.Event.html Thu Dec 3 04:37:13 2015 @@ -0,0 +1,206 @@ + + + + + +Watcher.Event (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface Watcher.Event

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    Watcher
    +
    +
    +
    +
    public static interface Watcher.Event
    +
    This interface defines the possible states an Event may represent
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static class Watcher.Event.EventType +
      Enumeration of types of events that may occur on the ZooKeeper
      +
      static class Watcher.Event.KeeperState +
      Enumeration of states the ZooKeeper may be at the event
      +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.html ============================================================================== --- websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.html (added) +++ websites/production/zookeeper/content/doc/r3.4.7/api/org/apache/zookeeper/Watcher.html Thu Dec 3 04:37:13 2015 @@ -0,0 +1,248 @@ + + + + + +Watcher (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface Watcher

+
+
+
+
    +
  • +
    +
    +
    public interface Watcher
    +
    This interface specifies the public interface an event handler class must + implement. A ZooKeeper client will get various events from the ZooKeeper + server it connects to. An application using such a client handles these + events by registering a callback object with the client. The callback object + is expected to be an instance of a class that implements Watcher interface.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface Watcher.Event +
      This interface defines the possible states an Event may represent
      +
      +
    • +
    + + +
  • +
+
+
+ +
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ +