org.apache.zookeeper.server.quorum
Class ProposalRequestProcessor

java.lang.Object
  extended by org.apache.zookeeper.server.quorum.ProposalRequestProcessor
All Implemented Interfaces:
RequestProcessor

public class ProposalRequestProcessor
extends Object
implements RequestProcessor

This RequestProcessor simply forwards requests to an AckRequestProcessor and SyncRequestProcessor.


Constructor Summary
ProposalRequestProcessor(LeaderZooKeeperServer zks, RequestProcessor nextProcessor)
           
 
Method Summary
 void initialize()
          initialize this processor
 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

ProposalRequestProcessor

public ProposalRequestProcessor(LeaderZooKeeperServer zks,
                                RequestProcessor nextProcessor)
Method Detail

initialize

public void initialize()
initialize this processor


processRequest

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

shutdown

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


Copyright © 2011 The Apache Software Foundation