Class ShutdownHook


  • public class ShutdownHook
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ShutdownHook()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hook​(java.io.Closeable hook)  
      boolean unhook()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShutdownHook

        public ShutdownHook()
    • Method Detail

      • hook

        public boolean hook​(java.io.Closeable hook)
      • unhook

        public boolean unhook()