Interface ZKACLProvider

All Known Implementing Classes:
ZKDefaultACLProvider, ZKSecureACLProvider

public interface ZKACLProvider
This class defines the methods that are required to specify ACLs on Drill ZK nodes
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.zookeeper.data.ACL>
    Returns the list of ZK ACLs ACL to apply for a specific Drill znode
    List<org.apache.zookeeper.data.ACL>
    Returns the list of ZK ACLs ACL to apply by default on Drill znodes
  • Method Details

    • getDrillDefaultAcl

      List<org.apache.zookeeper.data.ACL> getDrillDefaultAcl()
      Returns the list of ZK ACLs ACL to apply by default on Drill znodes
      Returns:
      List of ZK ACLs ACL
    • getDrillAclForPath

      List<org.apache.zookeeper.data.ACL> getDrillAclForPath(String path)
      Returns the list of ZK ACLs ACL to apply for a specific Drill znode
      Parameters:
      path - The path for which the ACL is being looked up
      Returns:
      List of ZK ACLs ACL for the provided path