Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.data | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
Id |
ACL.getId() |
Modifier and Type | Method and Description |
---|---|
void |
ACL.setId(Id m_) |
Constructor and Description |
---|
ACL(int perms,
Id id) |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Id> |
ServerCnxn.authInfo |
List<Id> |
Request.authInfo |
Modifier and Type | Method and Description |
---|---|
List<Id> |
ServerCnxn.getAuthInfo()
auth info for the cnxn, returns an unmodifyable list
|
Modifier and Type | Method and Description |
---|---|
void |
ServerCnxn.addAuthInfo(Id id) |
boolean |
ServerCnxn.removeAuthInfo(Id id) |
Constructor and Description |
---|
Request(ServerCnxn cnxn,
long sessionId,
int xid,
int type,
ByteBuffer bb,
List<Id> authInfo) |
Modifier and Type | Method and Description |
---|---|
List<Id> |
QuorumPacket.getAuthinfo() |
Modifier and Type | Method and Description |
---|---|
void |
QuorumPacket.setAuthinfo(List<Id> m_) |
Constructor and Description |
---|
LearnerSyncRequest(LearnerHandler fh,
long sessionId,
int xid,
int type,
ByteBuffer bb,
List<Id> authInfo) |
QuorumPacket(int type,
long zxid,
byte[] data,
List<Id> authinfo) |
Copyright © 2017 The Apache Software Foundation