Uses of Class
org.apache.zookeeper.data.ACL
-
Packages that use ACL Package Description org.apache.zookeeper org.apache.zookeeper.cli org.apache.zookeeper.proto org.apache.zookeeper.retry org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.auth org.apache.zookeeper.txn -
-
Uses of ACL in org.apache.zookeeper
Fields in org.apache.zookeeper with type parameters of type ACL Modifier and Type Field Description protected java.util.List<ACL>Op.Create. aclstatic java.util.ArrayList<ACL>ZooDefs.Ids. CREATOR_ALL_ACLThis ACL gives the creators authentication id's all permissions.static java.util.ArrayList<ACL>ZooDefs.Ids. OPEN_ACL_UNSAFEThis is a completely open ACL .static java.util.ArrayList<ACL>ZooDefs.Ids. READ_ACL_UNSAFEThis ACL gives the world the ability to read.Methods in org.apache.zookeeper that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>ZooKeeper. getACL(java.lang.String path, Stat stat)Return the ACL and stat of the node of the given path.Method parameters in org.apache.zookeeper with type arguments of type ACL Modifier and Type Method Description static java.lang.StringZKUtil. aclToString(java.util.List<ACL> acls)static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags)Constructs a create operation.static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags, long ttl)Constructs a create operation.static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)Constructs a create operation.static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, long ttl)Constructs a create operation.TransactionTransaction. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)Create a node with the given path.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx)The asynchronous version of create.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx, long ttl)The asynchronous version of create with ttl.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.StringCallback cb, java.lang.Object ctx)The asynchronous version of create.java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat)Create a node with the given path and returns the Stat of that node.java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat, long ttl)same asZooKeeper.create(String, byte[], List, CreateMode, Stat)but allows for specifying a TTL when mode isCreateMode.PERSISTENT_WITH_TTLorCreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL.voidAsyncCallback.ACLCallback. processResult(int rc, java.lang.String path, java.lang.Object ctx, java.util.List<ACL> acl, Stat stat)Process the result of the asynchronous call.StatZooKeeper. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion)Set the ACL for the node of the given path if such a node exists and the given aclVersion matches the acl version of the node.voidZooKeeper. setACL(java.lang.String path, java.util.List<ACL> acl, int version, AsyncCallback.StatCallback cb, java.lang.Object ctx)The asynchronous version of setACL. -
Uses of ACL in org.apache.zookeeper.cli
Methods in org.apache.zookeeper.cli that return types with arguments of type ACL Modifier and Type Method Description static java.util.List<ACL>AclParser. parse(java.lang.String aclString)parse string into list of ACL -
Uses of ACL in org.apache.zookeeper.proto
Methods in org.apache.zookeeper.proto that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>CreateRequest. getAcl()java.util.List<ACL>CreateTTLRequest. getAcl()java.util.List<ACL>GetACLResponse. getAcl()java.util.List<ACL>SetACLRequest. getAcl()Method parameters in org.apache.zookeeper.proto with type arguments of type ACL Modifier and Type Method Description voidCreateRequest. setAcl(java.util.List<ACL> m_)voidCreateTTLRequest. setAcl(java.util.List<ACL> m_)voidGetACLResponse. setAcl(java.util.List<ACL> m_)voidSetACLRequest. setAcl(java.util.List<ACL> m_)Constructor parameters in org.apache.zookeeper.proto with type arguments of type ACL Constructor Description CreateRequest(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags)CreateTTLRequest(java.lang.String path, byte[] data, java.util.List<ACL> acl, int flags, long ttl)GetACLResponse(java.util.List<ACL> acl, Stat stat)SetACLRequest(java.lang.String path, java.util.List<ACL> acl, int version) -
Uses of ACL in org.apache.zookeeper.retry
Methods in org.apache.zookeeper.retry that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>ZooKeeperRetry. getACL(java.lang.String path, Stat stat)Method parameters in org.apache.zookeeper.retry with type arguments of type ACL Modifier and Type Method Description java.lang.StringZooKeeperRetry. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)StatZooKeeperRetry. setACL(java.lang.String path, java.util.List<ACL> acl, int aclVersion) -
Uses of ACL in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>ZKDatabase. aclForNode(DataNode n)java.util.List<ACL>ReferenceCountedACLCache. convertLong(java.lang.Long longVal)converts a long to a list of acls.static java.util.List<ACL>PrepRequestProcessor. fixupACL(java.lang.String path, java.util.List<Id> authInfo, java.util.List<ACL> acls)This method checks out the acl making sure it isn't null or empty, it has valid schemes and ids, and expanding any relative ids that depend on the requestor's authentication information.java.util.List<ACL>DataTree. getACL(java.lang.String path, Stat stat)java.util.List<ACL>DataTree. getACL(DataNode node)java.util.List<ACL>ZKDatabase. getACL(java.lang.String path, Stat stat)get acl for a pathMethod parameters in org.apache.zookeeper.server with type arguments of type ACL Modifier and Type Method Description voidZooKeeperServer. checkACL(ServerCnxn cnxn, java.util.List<ACL> acl, int perm, java.util.List<Id> ids, java.lang.String path, java.util.List<ACL> setAcls)Grant or deny authorization to an operation on a node as a function of:java.lang.LongReferenceCountedACLCache. convertAcls(java.util.List<ACL> acls)converts the list of acls to a long.voidDataTree. createNode(java.lang.String path, byte[] data, java.util.List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time)Add a new node to the DataTree.voidDataTree. createNode(java.lang.String path, byte[] data, java.util.List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time, Stat outputStat)Add a new node to the DataTree.StatDataTree. setACL(java.lang.String path, java.util.List<ACL> acl, int version) -
Uses of ACL in org.apache.zookeeper.server.auth
Methods in org.apache.zookeeper.server.auth that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>ServerAuthenticationProvider.MatchValues. getSetAcls()Constructor parameters in org.apache.zookeeper.server.auth with type arguments of type ACL Constructor Description MatchValues(java.lang.String path, java.lang.String id, java.lang.String aclExpr, int perm, java.util.List<ACL> setAcls) -
Uses of ACL in org.apache.zookeeper.txn
Methods in org.apache.zookeeper.txn that return types with arguments of type ACL Modifier and Type Method Description java.util.List<ACL>CreateContainerTxn. getAcl()java.util.List<ACL>CreateTTLTxn. getAcl()java.util.List<ACL>CreateTxn. getAcl()java.util.List<ACL>CreateTxnV0. getAcl()java.util.List<ACL>SetACLTxn. getAcl()Method parameters in org.apache.zookeeper.txn with type arguments of type ACL Modifier and Type Method Description voidCreateContainerTxn. setAcl(java.util.List<ACL> m_)voidCreateTTLTxn. setAcl(java.util.List<ACL> m_)voidCreateTxn. setAcl(java.util.List<ACL> m_)voidCreateTxnV0. setAcl(java.util.List<ACL> m_)voidSetACLTxn. setAcl(java.util.List<ACL> m_)Constructor parameters in org.apache.zookeeper.txn with type arguments of type ACL Constructor Description CreateContainerTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion)CreateTTLTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion, long ttl)CreateTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, boolean ephemeral, int parentCVersion)CreateTxnV0(java.lang.String path, byte[] data, java.util.List<ACL> acl, boolean ephemeral)SetACLTxn(java.lang.String path, java.util.List<ACL> acl, int version)
-