Package org.apache.drill.exec.coord.zk
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 TypeMethodDescriptionList<org.apache.zookeeper.data.ACL>
getDrillAclForPath
(String path) Returns the list of ZK ACLsACL
to apply for a specific Drill znodeList<org.apache.zookeeper.data.ACL>
Returns the list of ZK ACLsACL
to apply by default on Drill znodes
-
Method Details
-
getDrillDefaultAcl
List<org.apache.zookeeper.data.ACL> getDrillDefaultAcl()Returns the list of ZK ACLsACL
to apply by default on Drill znodes- Returns:
- List of ZK ACLs
ACL
-
getDrillAclForPath
Returns the list of ZK ACLsACL
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
-