Uses of Class
org.apache.zookeeper.data.ACL
Packages that use ACL
Package
Description
ZooKeeper server theory of operation
-
Uses of ACL in org.apache.zookeeper
Fields in org.apache.zookeeper with type parameters of type ACLModifier and TypeFieldDescriptionOp.Create.acl
ZooDefs.Ids.CREATOR_ALL_ACL
This ACL gives the creators authentication id's all permissions.ZooDefs.Ids.OPEN_ACL_UNSAFE
This is a completely open ACL .ZooDefs.Ids.READ_ACL_UNSAFE
This ACL gives the world the ability to read.Methods in org.apache.zookeeper that return types with arguments of type ACLModifier and TypeMethodDescriptionReturn the ACL and stat of the node of the given path.Method parameters in org.apache.zookeeper with type arguments of type ACLModifier and TypeMethodDescriptionstatic String
ZKUtil.aclToString
(List<ACL> acls) static Op
Constructs a create operation.static Op
Constructs a create operation.static Op
Op.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode) Constructs a create operation.static Op
Op.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode, long ttl) Constructs a create operation.Transaction.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode) ZooKeeper.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode) Create a node with the given path.void
ZooKeeper.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, Object ctx) The asynchronous version of create.void
ZooKeeper.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, Object ctx, long ttl) The asynchronous version of create with ttl.void
ZooKeeper.create
(String path, byte[] data, List<ACL> acl, CreateMode createMode, AsyncCallback.StringCallback cb, Object ctx) The asynchronous version of create.Create a node with the given path and returns the Stat of that node.ZooKeeper.create
(String path, byte[] data, 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_TTL
orCreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL
.void
Process the result of the asynchronous call.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.void
ZooKeeper.setACL
(String path, List<ACL> acl, int version, AsyncCallback.StatCallback cb, 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 -
Uses of ACL in org.apache.zookeeper.proto
Methods in org.apache.zookeeper.proto that return types with arguments of type ACLModifier and TypeMethodDescriptionCreateRequest.getAcl()
CreateTTLRequest.getAcl()
GetACLResponse.getAcl()
SetACLRequest.getAcl()
Method parameters in org.apache.zookeeper.proto with type arguments of type ACLModifier and TypeMethodDescriptionvoid
void
void
void
Constructor parameters in org.apache.zookeeper.proto with type arguments of type ACLModifierConstructorDescriptionCreateRequest
(String path, byte[] data, List<ACL> acl, int flags) CreateTTLRequest
(String path, byte[] data, List<ACL> acl, int flags, long ttl) GetACLResponse
(List<ACL> acl, Stat stat) SetACLRequest
(String path, 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 ACLMethod parameters in org.apache.zookeeper.retry with type arguments of type ACL -
Uses of ACL in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return types with arguments of type ACLModifier and TypeMethodDescriptionZKDatabase.aclForNode
(DataNode n) ReferenceCountedACLCache.convertLong
(Long longVal) converts a long to a list of 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.get acl for a pathMethod parameters in org.apache.zookeeper.server with type arguments of type ACLModifier and TypeMethodDescriptionvoid
ZooKeeperServer.checkACL
(ServerCnxn cnxn, List<ACL> acl, int perm, List<Id> ids, String path, List<ACL> setAcls) Grant or deny authorization to an operation on a node as a function of:ReferenceCountedACLCache.convertAcls
(List<ACL> acls) converts the list of acls to a long.void
DataTree.createNode
(String path, byte[] data, List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time) Add a new node to the DataTree.void
DataTree.createNode
(String path, byte[] data, List<ACL> acl, long ephemeralOwner, int parentCVersion, long zxid, long time, Stat outputStat) Add a new node to the DataTree.void
DumbWatcher.process
(WatchedEvent event, List<ACL> znodeAcl) void
NettyServerCnxn.process
(WatchedEvent event, List<ACL> znodeAcl) void
NIOServerCnxn.process
(WatchedEvent event, List<ACL> znodeAcl) abstract void
ServerCnxn.process
(WatchedEvent event, List<ACL> znodeAcl) void
ServerWatcher.process
(WatchedEvent event, List<ACL> znodeAcl) -
Uses of ACL in org.apache.zookeeper.server.auth
Methods in org.apache.zookeeper.server.auth that return types with arguments of type ACLConstructor parameters in org.apache.zookeeper.server.auth with type arguments of type ACL -
Uses of ACL in org.apache.zookeeper.server.watch
Method parameters in org.apache.zookeeper.server.watch with type arguments of type ACLModifier and TypeMethodDescriptionIWatchManager.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl) Distribute the watch event for the given path.IWatchManager.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl, WatcherOrBitSet suppress) Distribute the watch event for the given path, but ignore those suppressed ones.WatchManager.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl) WatchManager.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl, WatcherOrBitSet supress) WatchManagerOptimized.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl) WatchManagerOptimized.triggerWatch
(String path, Watcher.Event.EventType type, List<ACL> acl, WatcherOrBitSet suppress) -
Uses of ACL in org.apache.zookeeper.txn
Methods in org.apache.zookeeper.txn that return types with arguments of type ACLModifier and TypeMethodDescriptionCreateContainerTxn.getAcl()
CreateTTLTxn.getAcl()
CreateTxn.getAcl()
CreateTxnV0.getAcl()
SetACLTxn.getAcl()
Method parameters in org.apache.zookeeper.txn with type arguments of type ACLModifier and TypeMethodDescriptionvoid
void
void
void
void
Constructor parameters in org.apache.zookeeper.txn with type arguments of type ACLModifierConstructorDescriptionCreateContainerTxn
(String path, byte[] data, List<ACL> acl, int parentCVersion) CreateTTLTxn
(String path, byte[] data, List<ACL> acl, int parentCVersion, long ttl) CreateTxnV0
(String path, byte[] data, List<ACL> acl, boolean ephemeral)