commit | 73cd00aed8e42cf38dcbf5b1dd36826b3041ee13 | [log] [tgz] |
---|---|---|
author | randgalt <randgalt@apache.org> | Mon Mar 28 21:18:58 2016 -0500 |
committer | randgalt <randgalt@apache.org> | Mon Mar 28 21:18:58 2016 -0500 |
tree | a4fb3be5fc79f2f1c52c27e6e61773e58fa8b97b | |
parent | f4dcec3e6f80616f76f428c25787ff3293273a5a [diff] |
Added comment
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java index bf11f81..5f94ea1 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
@@ -309,7 +309,10 @@ } /** - * Set data that node should set in ZK also writes the data to the node + * Set data that node should set in ZK also writes the data to the node. NOTE: it + * is an error to call this method after {@link #start()} but before the initial create + * has completed. Use {@link #waitForInitialCreate(long, TimeUnit)} to ensure initial + * creation. * * @param data new data value * @throws Exception errors