Class OServerShutdownHook

java.lang.Object
java.lang.Thread
com.orientechnologies.orient.server.OServerShutdownHook
All Implemented Interfaces:
Runnable

public class OServerShutdownHook extends Thread
  • Constructor Details

    • OServerShutdownHook

      protected OServerShutdownHook(OServer server)
  • Method Details

    • run

      public void run()
      Catch the JVM exit and assure to shutdown the Orient Server.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • cancel

      public void cancel()