Class FinalRequestProcessor

  extended by org.apache.zookeeper.server.FinalRequestProcessor
All Implemented Interfaces:

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.

Constructor Summary
FinalRequestProcessor(ZooKeeperServer zks)
Method Summary
 void processRequest(Request request)
 void shutdown()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FinalRequestProcessor(ZooKeeperServer zks)
Method Detail


public void processRequest(Request request)
Specified by:
processRequest in interface RequestProcessor


public void shutdown()
Specified by:
shutdown in interface RequestProcessor

Copyright © 2011 The Apache Software Foundation