Class NGServer.NGServerShutdowner

java.lang.Object
java.lang.Thread
com.martiansoftware.nailgun.NGServer.NGServerShutdowner
All Implemented Interfaces:
Runnable
Enclosing class:
NGServer

private static class NGServer.NGServerShutdowner extends Thread
A shutdown hook that will cleanly bring down the NGServer if it is interrupted.
  • Field Details

  • Constructor Details

    • NGServerShutdowner

      NGServerShutdowner(NGServer server)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread