| Package | Description | 
|---|---|
| org.apache.zookeeper.server | 
 ZooKeeper server theory of operation 
 | 
| org.apache.zookeeper.server.quorum | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FinalRequestProcessor
This Request processor actually applies any transaction associated with a
 request and services any queries. 
 | 
class  | 
PrepRequestProcessor
This request processor is generally at the start of a RequestProcessor
 change. 
 | 
class  | 
SyncRequestProcessor
This RequestProcessor logs requests to disk. 
 | 
class  | 
UnimplementedRequestProcessor
Manages the unknown requests (i.e. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected RequestProcessor | 
ZooKeeperServer.firstProcessor  | 
| Constructor and Description | 
|---|
ContainerManager(ZKDatabase zkDb,
                RequestProcessor requestProcessor,
                int checkIntervalMs,
                int maxPerMinute)  | 
PrepRequestProcessor(ZooKeeperServer zks,
                    RequestProcessor nextProcessor)  | 
SyncRequestProcessor(ZooKeeperServer zks,
                    RequestProcessor nextProcessor)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CommitProcessor
This RequestProcessor matches the incoming committed requests with the
 locally submitted requests. 
 | 
class  | 
FollowerRequestProcessor
This RequestProcessor forwards any requests that modify the state of the
 system to the Leader. 
 | 
class  | 
LeaderRequestProcessor
Responsible for performing local session upgrade. 
 | 
class  | 
ObserverRequestProcessor
This RequestProcessor forwards any requests that modify the state of the
 system to the Leader. 
 | 
class  | 
ProposalRequestProcessor
This RequestProcessor simply forwards requests to an AckRequestProcessor and
 SyncRequestProcessor. 
 | 
class  | 
ReadOnlyRequestProcessor
This processor is at the beginning of the ReadOnlyZooKeeperServer's
 processors chain. 
 | 
class  | 
SendAckRequestProcessor  | 
| Constructor and Description | 
|---|
CommitProcessor(RequestProcessor nextProcessor,
               String id,
               boolean matchSyncs,
               ZooKeeperServerListener listener)  | 
FollowerRequestProcessor(FollowerZooKeeperServer zks,
                        RequestProcessor nextProcessor)  | 
LeaderRequestProcessor(LeaderZooKeeperServer zks,
                      RequestProcessor nextProcessor)  | 
ObserverRequestProcessor(ObserverZooKeeperServer zks,
                        RequestProcessor nextProcessor)
Constructor - takes an ObserverZooKeeperServer to associate with
 and the next processor to pass requests to after we're finished. 
 | 
ProposalRequestProcessor(LeaderZooKeeperServer zks,
                        RequestProcessor nextProcessor)  | 
ReadOnlyRequestProcessor(ZooKeeperServer zks,
                        RequestProcessor nextProcessor)  | 
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.