Interface AsyncSetACLBuilder


public interface AsyncSetACLBuilder
Builder for setting ACLs
  • Method Summary

    Modifier and Type
    Method
    Description
    AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>>
    withACL(List<org.apache.zookeeper.data.ACL> aclList)
    Set the given ACLs
    AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>>
    withACL(List<org.apache.zookeeper.data.ACL> aclList, int version)
    Set the given ACLs only if the "a" version matches.
  • Method Details

    • withACL

      AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(List<org.apache.zookeeper.data.ACL> aclList)
      Set the given ACLs
      Parameters:
      aclList - ACLs to set
      Returns:
      this
    • withACL

      AsyncPathable<AsyncStage<org.apache.zookeeper.data.Stat>> withACL(List<org.apache.zookeeper.data.ACL> aclList, int version)
      Set the given ACLs only if the "a" version matches. By default -1 is used which matches all versions.
      Parameters:
      aclList - ACLs to set
      version - "a" version
      Returns:
      this
      See Also:
      • Stat.getAversion()