public class RestartTaskThread extends DirectoryThread
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.DirectoryThread.FactoryThread.State, Thread.UncaughtExceptionHandlerDIRECTORY_THREAD_GROUPMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
RestartTaskThread(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.
|
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, initiateShutdown, isShutdownInitiated, setAssociatedTask, startWork, stopWorkactiveCount, 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 RestartTaskThread(LocalizableMessage shutdownMessage)
shutdownMessage - The shutdown message that will be used.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.