Public Member Functions | |
ControllerForceShutdownThread (Controller controller) | |
void | shutdown () throws ShutdownException |
Definition at line 38 of file ControllerForceShutdownThread.java.
|
Creates a new
Definition at line 46 of file ControllerForceShutdownThread.java. 00047 { 00048 super(controller, Constants.SHUTDOWN_WAIT); 00049 }
|
|
Implements org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread. Definition at line 54 of file ControllerForceShutdownThread.java. References org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.generateReportIfNeeded(), org.objectweb.cjdbc.common.log.Trace.info(), org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.shutdownDatabases(), org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.shutdownJmxAgent(), and org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.shutdownServerConnectionThread(). 00055 { 00056 logger.info("Starting controller shutdown"); 00057 shutdownDatabases(); 00058 generateReportIfNeeded(); 00059 shutdownJmxAgent(); 00060 // Wait for a maximum of 5 seconds for thread termination. 00061 shutdownServerConnectionThread(5000); 00062 logger.info("Exiting JVM."); 00063 System.exit(0); 00064 }
|