Package | Description |
---|---|
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 | 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.
|
Modifier and Type | Field and Description |
---|---|
protected RequestProcessor |
ZooKeeperServer.firstProcessor |
Constructor and Description |
---|
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 |
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) |
FollowerRequestProcessor(FollowerZooKeeperServer 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 © 2017 The Apache Software Foundation