Package org.apache.zookeeper.server
Class FinalRequestProcessor
- java.lang.Object
-
- org.apache.zookeeper.server.FinalRequestProcessor
-
- All Implemented Interfaces:
RequestProcessor
public class FinalRequestProcessor extends Object implements RequestProcessor
This Request processor actually applies any transaction associated with a request and services any queries. It is always at the end of a RequestProcessor chain (hence the name), so it does not have a nextProcessor member. This RequestProcessor counts on ZooKeeperServer to populate the outstandingRequests member of ZooKeeperServer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.zookeeper.server.RequestProcessor
RequestProcessor.RequestProcessorException
-
-
Constructor Summary
Constructors Constructor Description FinalRequestProcessor(ZooKeeperServer zks)
-
-
-
Constructor Detail
-
FinalRequestProcessor
public FinalRequestProcessor(ZooKeeperServer zks)
-
-
Method Detail
-
processRequest
public void processRequest(Request request)
- Specified by:
processRequest
in interfaceRequestProcessor
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceRequestProcessor
-
-