org.apache.curator.framework.imps
Class DefaultACLProvider
java.lang.Object
org.apache.curator.framework.imps.DefaultACLProvider
- All Implemented Interfaces:
- ACLProvider, org.apache.curator.utils.InternalACLProvider
public class DefaultACLProvider
- extends Object
- implements ACLProvider
|
Method Summary |
List<org.apache.zookeeper.data.ACL> |
getAclForPath(String path)
Return the ACL list to use for the given path |
List<org.apache.zookeeper.data.ACL> |
getDefaultAcl()
Return the ACL list to use by default (usually ZooDefs.Ids#OPEN_ACL_UNSAFE). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultACLProvider
public DefaultACLProvider()
getDefaultAcl
public List<org.apache.zookeeper.data.ACL> getDefaultAcl()
- Description copied from interface:
ACLProvider
- Return the ACL list to use by default (usually
ZooDefs.Ids#OPEN_ACL_UNSAFE).
- Specified by:
getDefaultAcl in interface ACLProvider- Specified by:
getDefaultAcl in interface org.apache.curator.utils.InternalACLProvider
- Returns:
- default ACL list
getAclForPath
public List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
- Description copied from interface:
ACLProvider
- Return the ACL list to use for the given path
- Specified by:
getAclForPath in interface ACLProvider- Specified by:
getAclForPath in interface org.apache.curator.utils.InternalACLProvider
- Parameters:
path - path (NOTE: might be null)
- Returns:
- ACL list
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.