From 15a9f03f6f7b156806d05d0dd7ce6cfd3ef39c72 Mon Sep 17 00:00:00 2001 From: Paul Boutes Date: Sun, 28 Mar 2021 16:44:22 +0200 Subject: [PATCH] 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 Reviewers: Enrico Olivelli , Zili Chen, Cameron McKenzie Closes #381 from pboutes/CURATOR-591 --- .../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 5baca0965a..ffbe5d9993 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