public class LearnerSender extends ZooKeeperCriticalThread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LearnerSender(Learner learner) |
| Modifier and Type | Method and Description |
|---|---|
void |
queuePacket(QuorumPacket pp) |
void |
run() |
void |
shutdown() |
handleExceptionactiveCount, 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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic LearnerSender(Learner learner)
public void queuePacket(QuorumPacket pp) throws IOException
IOExceptionpublic void shutdown()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.