Uses of Class
org.apache.zookeeper.data.Id
-
Packages that use Id Package Description org.apache.zookeeper org.apache.zookeeper.data org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.quorum org.apache.zookeeper.server.util -
-
Uses of Id in org.apache.zookeeper
Fields in org.apache.zookeeper declared as Id Modifier and Type Field Description static Id
ZooDefs.Ids. ANYONE_ID_UNSAFE
This Id represents anyone.static Id
ZooDefs.Ids. AUTH_IDS
This Id is only usable to set ACLs. -
Uses of Id in org.apache.zookeeper.data
Methods in org.apache.zookeeper.data that return Id Modifier and Type Method Description Id
ACL. getId()
Methods in org.apache.zookeeper.data with parameters of type Id Modifier and Type Method Description void
ACL. setId(Id m_)
Constructors in org.apache.zookeeper.data with parameters of type Id Constructor Description ACL(int perms, Id id)
-
Uses of Id in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server with type parameters of type Id Modifier and Type Field Description java.util.List<Id>
Request. authInfo
Methods in org.apache.zookeeper.server that return types with arguments of type Id Modifier and Type Method Description java.util.List<Id>
ServerCnxn. getAuthInfo()
auth info for the cnxn, returns an unmodifyable listMethods in org.apache.zookeeper.server with parameters of type Id Modifier and Type Method Description void
ServerCnxn. addAuthInfo(Id id)
boolean
ServerCnxn. removeAuthInfo(Id id)
Method parameters in org.apache.zookeeper.server with type arguments of type Id Modifier and Type Method Description 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.Constructor parameters in org.apache.zookeeper.server with type arguments of type Id Constructor Description Request(ServerCnxn cnxn, long sessionId, int xid, int type, java.nio.ByteBuffer bb, java.util.List<Id> authInfo)
-
Uses of Id in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum that return types with arguments of type Id Modifier and Type Method Description java.util.List<Id>
QuorumPacket. getAuthinfo()
Method parameters in org.apache.zookeeper.server.quorum with type arguments of type Id Modifier and Type Method Description void
QuorumPacket. setAuthinfo(java.util.List<Id> m_)
Constructor parameters in org.apache.zookeeper.server.quorum with type arguments of type Id Constructor Description LearnerSyncRequest(LearnerHandler fh, long sessionId, int xid, int type, java.nio.ByteBuffer bb, java.util.List<Id> authInfo)
QuorumPacket(int type, long zxid, byte[] data, java.util.List<Id> authinfo)
-
Uses of Id in org.apache.zookeeper.server.util
Methods in org.apache.zookeeper.server.util with parameters of type Id Modifier and Type Method Description static java.lang.String
AuthUtil. getUser(Id id)
Gives user nameMethod parameters in org.apache.zookeeper.server.util with type arguments of type Id Modifier and Type Method Description static java.util.List<ClientInfo>
AuthUtil. getClientInfos(java.util.List<Id> authInfo)
Gets user from id to prepare ClientInfo.static java.lang.String
AuthUtil. getUsers(java.util.List<Id> authInfo)
Returns a formatted, comma-separated list of the user IDs held inauthInfo
, ornull
if no user IDs were found.
-