Package com.martiansoftware.nailgun
Class NGServer.NGServerShutdowner
- java.lang.Object
-
- java.lang.Thread
-
- com.martiansoftware.nailgun.NGServer.NGServerShutdowner
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- NGServer
private static class NGServer.NGServerShutdowner extends java.lang.ThreadA shutdown hook that will cleanly bring down the NGServer if it is interrupted.
-
-
Constructor Summary
Constructors Constructor Description NGServerShutdowner(NGServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()-
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
-
-