public interface ParentACLable<T> extends ACLable<T>
Modifier and Type | Method and Description |
---|---|
T |
withACL(List<org.apache.zookeeper.data.ACL> aclList,
boolean applyToParents)
Set an ACL list (default is
ZooDefs.Ids#OPEN_ACL_UNSAFE ). |
T withACL(List<org.apache.zookeeper.data.ACL> aclList, boolean applyToParents)
ZooDefs.Ids#OPEN_ACL_UNSAFE
).
If applyToParents is true, then the aclList is applied to the created parents.
Existing parent nodes are not affected.aclList
- the ACL list to useapplyToParents
- if true, then the aclList is applied to the created parents.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.