public class RestartTaskThread extends Thread
java.lang.Thread instead of
org.opends.server.core.DirectoryThread, and this thread is not a
daemon thread. These changes are needed to guarantee that the JVM does not
exit before we get a chance to restart it if all non-daemon threads go away.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
RestartTaskThread(org.forgerock.i18n.LocalizableMessage shutdownMessage)
Creates a new instance of this shutdown task thread with the provided
message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Invokes the Directory Server shutdown process.
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldCopyright © 2010-2020 Wren Security. All Rights Reserved.