Interface ParentACLable<T>

All Superinterfaces:
ACLable<T>
All Known Subinterfaces:
ACLBackgroundPathAndBytesable<T>, ACLCreateModeBackgroundPathAndBytesable<T>, ACLCreateModePathAndBytesable<T>, ACLCreateModeStatBackgroundPathAndBytesable<T>, ACLPathAndBytesable<T>, CreateBackgroundModeACLable, CreateBackgroundModeStatACLable, CreateBuilder, CreateBuilder2, CreateBuilderMain, CreateProtectACLCreateModePathAndBytesable<T>, ProtectACLCreateModePathAndBytesable<T>, ProtectACLCreateModeStatPathAndBytesable<T>, TransactionCreateBuilder<T>, TransactionCreateBuilder2<T>
All Known Implementing Classes:
CreateBuilderImpl

public interface ParentACLable<T> extends ACLable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    withACL(List<org.apache.zookeeper.data.ACL> aclList, boolean applyToParents)
    Set an ACL list (default is ZooDefs.Ids.OPEN_ACL_UNSAFE).

    Methods inherited from interface org.apache.curator.framework.api.ACLable

    withACL
  • Method Details

    • withACL

      T withACL(List<org.apache.zookeeper.data.ACL> aclList, boolean applyToParents)
      Set an ACL list (default is ZooDefs.Ids.OPEN_ACL_UNSAFE). If applyToParents is true, then the aclList is applied to the created parents. Existing parent nodes are not affected.
      Parameters:
      aclList - the ACL list to use
      applyToParents - if true, then the aclList is applied to the created parents.
      Returns:
      this