Class ShutdownHook


  • public class ShutdownHook
    extends java.lang.Object
    Manages the shutdown-hook thread and tasks to execute on shutdown.
    Since:
    4.0.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ShutdownHook.Task
      Essentially a Runnable which allows running to throw an exception.
    • Constructor Summary

      Constructors 
      Constructor Description
      ShutdownHook()  
    • Constructor Detail

      • ShutdownHook

        public ShutdownHook()