public class ProposalRequestProcessor extends Object implements RequestProcessor
RequestProcessor.RequestProcessorException
Modifier and Type | Field and Description |
---|---|
static String |
FORWARD_LEARNER_REQUESTS_TO_COMMIT_PROCESSOR_DISABLED |
Constructor and Description |
---|
ProposalRequestProcessor(LeaderZooKeeperServer zks,
RequestProcessor nextProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
initialize this processor
|
void |
processRequest(Request request) |
void |
shutdown() |
public static final String FORWARD_LEARNER_REQUESTS_TO_COMMIT_PROCESSOR_DISABLED
public ProposalRequestProcessor(LeaderZooKeeperServer zks, RequestProcessor nextProcessor)
public void initialize()
public void processRequest(Request request) throws RequestProcessor.RequestProcessorException
processRequest
in interface RequestProcessor
RequestProcessor.RequestProcessorException
public void shutdown()
shutdown
in interface RequestProcessor
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.