Author: breed Date: Thu Nov 12 20:02:35 2009 New Revision: 835519 URL: http://svn.apache.org/viewvc?rev=835519&view=rev Log: ZOOKEEPER-567. javadoc for getchildren2 needs to mention "new in 3.3.0"
Modified: hadoop/zookeeper/trunk/src/c/include/zookeeper.h hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java Modified: hadoop/zookeeper/trunk/src/c/include/zookeeper.h URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/c/include/zookeeper.h?rev=835519&r1=835518&r2=835519&view=diff ============================================================================== --- hadoop/zookeeper/trunk/src/c/include/zookeeper.h (original) +++ hadoop/zookeeper/trunk/src/c/include/zookeeper.h Thu Nov 12 20:02:35 2009 @@ -830,6 +830,8 @@ /** * \brief lists the children of a node, and get the parent stat. * + * This function is new in version 3.3.0 + * * \param zh the zookeeper handle obtained by a call to \ref zookeeper_init * \param path the name of the node. Expressed as a file name with slashes * separating ancestors of the node. @@ -856,6 +858,8 @@ * This function is similar to \ref zoo_aget_children2 except it allows one specify * a watcher object rather than a boolean watch flag. * + * This function is new in version 3.3.0 + * * \param zh the zookeeper handle obtained by a call to \ref zookeeper_init * \param path the name of the node. Expressed as a file name with slashes * separating ancestors of the node. @@ -1288,6 +1292,8 @@ /** * \brief lists the children of a node and get its stat synchronously. * + * This function is new in version 3.3.0 + * * \param zh the zookeeper handle obtained by a call to \ref zookeeper_init * \param path the name of the node. Expressed as a file name with slashes * separating ancestors of the node. @@ -1312,6 +1318,8 @@ * This function is similar to \ref zoo_get_children except it allows one specify * a watcher object rather than a boolean watch flag. * + * This function is new in version 3.3.0 + * * \param zh the zookeeper handle obtained by a call to \ref zookeeper_init * \param path the name of the node. Expressed as a file name with slashes * separating ancestors of the node. Modified: hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java?rev=835519&r1=835518&r2=835519&view=diff ============================================================================== --- hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java (original) +++ hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java Thu Nov 12 20:02:35 2009 @@ -1312,6 +1312,8 @@ * A KeeperException with error code KeeperException.NoNode will be thrown * if no node with the given path exists. * + * @since 3.3.0 + * * @param path * @param watcher explicit watcher * @param stat stat of the znode designated by path @@ -1366,6 +1368,8 @@ * A KeeperException with error code KeeperException.NoNode will be thrown * if no node with the given path exists. * + * @since 3.3.0 + * * @param path * @param watch * @param stat stat of the znode designated by path @@ -1384,7 +1388,9 @@ * The Asynchronous version of getChildren. The request doesn't actually * until the asynchronous callback is called. * - * @see #getChildren(String, Watcher) + * @since 3.3.0 + * + * @see #getChildren(String, Watcher, Stat) */ public void getChildren(final String path, Watcher watcher, Children2Callback cb, Object ctx) @@ -1414,7 +1420,9 @@ * The Asynchronous version of getChildren. The request doesn't actually * until the asynchronous callback is called. * - * @see #getChildren(String, boolean) + * @since 3.3.0 + * + * @see #getChildren(String, boolean, Stat) */ public void getChildren(String path, boolean watch, Children2Callback cb, Object ctx)