Package com.caucho.env.shutdown

Examples of com.caucho.env.shutdown.ShutdownSystem.shutdown()


    while (! _resin.isClosing()) {
      try {
        Thread.sleep(10);
       
        if (! checkMemory(runtime)) {
          shutdown.shutdown(ExitCode.MEMORY, "Resin shutdown from out of memory");
          // dumpHeapOnExit();
          return;
        }
       
        if (! checkFileDescriptor()) {
View Full Code Here


          // dumpHeapOnExit();
          return;
        }
       
        if (! checkFileDescriptor()) {
          shutdown.shutdown(ExitCode.MEMORY,
                            "Resin shutdown from out of file descriptors");
          //dumpHeapOnExit();
          return;
        }
       
View Full Code Here

        if (_waitIn != null) {
          if (_waitIn.read() >= 0) {
            socketExceptionCount = 0;
          }
          else {
            shutdown.shutdown(ExitCode.WATCHDOG_EXIT,
                              "Stopping due to watchdog or user.");
           
            return;
          }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.