public class ZKACLProviderDelegate extends Object implements org.apache.curator.framework.api.ACLProvider
ZKACLProvider
from Curator-specific functions
This is done so that ACL Providers have to be aware only about ZK ACLs and the Drill ZKACLProvider
interface
ACL Providers should not be concerned with the framework (Curator) used by Drill to access ZK.
If Drill stops using Curator, then existing ZKACLProvider
implementations will still work.Constructor and Description |
---|
ZKACLProviderDelegate(ZKACLProvider aclProvider) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.zookeeper.data.ACL> |
getAclForPath(String path) |
List<org.apache.zookeeper.data.ACL> |
getDefaultAcl() |
public ZKACLProviderDelegate(ZKACLProvider aclProvider)
public final List<org.apache.zookeeper.data.ACL> getDefaultAcl()
getDefaultAcl
in interface org.apache.curator.framework.api.ACLProvider
getDefaultAcl
in interface org.apache.curator.utils.InternalACLProvider
Copyright © 1970 The Apache Software Foundation. All rights reserved.