This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git
The following commit(s) were added to refs/heads/master by this push:
new 15a9f03 CURATOR-591: Update the PersistentNode documentation
15a9f03 is described below
commit 15a9f03f6f7b156806d05d0dd7ce6cfd3ef39c72
Author: Paul Boutes <[email protected]>
AuthorDate: Sun Mar 28 16:44:22 2021 +0200
CURATOR-591: Update the PersistentNode documentation
As a follow up of https://github.com/apache/curator/pull/380, we should
update the `PersistentNode` doc.
Author: Paul Boutes <[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, Zili Chen, Cameron
McKenzie
Closes #381 from pboutes/CURATOR-591
---
curator-recipes/src/site/confluence/persistent-node.confluence | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/curator-recipes/src/site/confluence/persistent-node.confluence
b/curator-recipes/src/site/confluence/persistent-node.confluence
index 5baca09..ffbe5d9 100644
--- a/curator-recipes/src/site/confluence/persistent-node.confluence
+++ b/curator-recipes/src/site/confluence/persistent-node.confluence
@@ -13,13 +13,15 @@ public PersistentNode(CuratorFramework client,
CreateMode mode,
boolean useProtection,
String basePath,
- byte[] data)
+ byte[] data,
+ boolean useParentCreation)
Parameters:
client - client instance
mode - creation mode
useProtection - if true, call CreateBuilder.withProtection()
basePath - the base path for the node
data - data for the node
+useParentCreation - if true, call
CreateBuilder.creatingParentContainersIfNeeded()
{code}
h3. General Usage