java.lang.Runnable, RequestProcessorpublic class ObserverRequestProcessor extends ZooKeeperCriticalThread implements RequestProcessor
RequestProcessor.RequestProcessorException| Constructor | Description |
|---|---|
ObserverRequestProcessor(ObserverZooKeeperServer zks,
RequestProcessor nextProcessor) |
Constructor - takes an ObserverZooKeeperServer to associate with
and the next processor to pass requests to after we're finished.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
processRequest(Request request) |
Simply queue the request, which will be processed in FIFO order.
|
void |
run() |
|
void |
shutdown() |
Shutdown the processor.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldhandleExceptionpublic ObserverRequestProcessor(ObserverZooKeeperServer zks, RequestProcessor nextProcessor)
zks - nextProcessor - public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void processRequest(Request request)
processRequest in interface RequestProcessorpublic void shutdown()
shutdown in interface RequestProcessorCopyright © 2018 The Apache Software Foundation