java.lang.Runnable
CommitProcessor
, FollowerRequestProcessor
, ObserverRequestProcessor
, PrepRequestProcessor
, ReadOnlyRequestProcessor
, SessionTrackerImpl
, SyncRequestProcessor
public class ZooKeeperCriticalThread extends ZooKeeperThread
Constructor | Description |
---|---|
ZooKeeperCriticalThread(java.lang.String threadName,
ZooKeeperServerListener listener) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
handleException(java.lang.String threadName,
java.lang.Throwable e) |
This will be used by the uncaught exception handler and make the system
exit.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activeCount, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ZooKeeperCriticalThread(java.lang.String threadName, ZooKeeperServerListener listener)
protected void handleException(java.lang.String threadName, java.lang.Throwable e)
handleException
in class ZooKeeperThread
threadName
- - thread namee
- - exception objectCopyright © 2018 The Apache Software Foundation