Class NGServer.NGServerShutdowner
java.lang.Object
java.lang.Thread
com.martiansoftware.nailgun.NGServer.NGServerShutdowner
- All Implemented Interfaces:
Runnable
- Enclosing class:
NGServer
A shutdown hook that will cleanly bring down the NGServer if it is
interrupted.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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
-
Field Details
-
server
-
-
Constructor Details
-
NGServerShutdowner
NGServerShutdowner(NGServer server)
-
-
Method Details
-
run
-