org.opends.server.tasks
Class ShutdownTaskThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.opends.server.api.DirectoryThread
          extended by org.opends.server.tasks.ShutdownTaskThread
All Implemented Interfaces:
java.lang.Runnable

public class ShutdownTaskThread
extends DirectoryThread

This class defines a thread that will be spawned to invoke the Directory Server shutdown process. This needs to be a separate thread because the task that creates it has to complete before the server can really shut down.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ShutdownTaskThread(Message shutdownMessage)
          Creates a new instance of this shutdown task thread with the provided message.
 
Method Summary
 void run()
          Invokes the Directory Server shutdown process.
 
Methods inherited from class org.opends.server.api.DirectoryThread
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, setAssociatedTask
 
Methods inherited from class java.lang.Thread
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, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShutdownTaskThread

public ShutdownTaskThread(Message shutdownMessage)
Creates a new instance of this shutdown task thread with the provided message.

Parameters:
shutdownMessage - The shutdown message that will be used.
Method Detail

run

public void run()
Invokes the Directory Server shutdown process.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread