Class ShutdownHooks


  • public final class ShutdownHooks
    extends java.lang.Object
    Manages the JLine shutdown-hook thread and tasks to execute on shutdown.
    Since:
    2.7
    Author:
    Jason Dillon
    • Nested Class Summary

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

      Constructors 
      Constructor Description
      ShutdownHooks()