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 java.lang.Object
implements RequestProcessor

This RequestProcessor simply forwards requests to an AckRequestProcessor and SyncRequestProcessor.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.zookeeper.server.RequestProcessor
RequestProcessor.RequestProcessorException
 
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)
                    throws RequestProcessor.RequestProcessorException
Specified by:
processRequest in interface RequestProcessor
Throws:
RequestProcessor.RequestProcessorException

shutdown

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


Copyright © 2012 The Apache Software Foundation