public class ZooKeeperCriticalThread extends ZooKeeperThread
Constructor and Description |
---|
ZooKeeperCriticalThread(java.lang.String threadName,
ZooKeeperServerListener listener) |
Modifier and Type | Method and 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.
|
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, 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 © 2016 The Apache Software Foundation