Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.controller.core.shutdown.ControllerSafeShutdownThread Class Reference

Inheritance diagram for org.objectweb.cjdbc.controller.core.shutdown.ControllerSafeShutdownThread:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.controller.core.shutdown.ControllerSafeShutdownThread:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ControllerSafeShutdownThread (Controller controller)
void shutdown () throws ShutdownException

Detailed Description

This thread waits for all clients to terminate their connections before shutting down the controller.

Author:
Emmanuel Cecchet
Version:
1.0

Definition at line 38 of file ControllerSafeShutdownThread.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.controller.core.shutdown.ControllerSafeShutdownThread.ControllerSafeShutdownThread Controller  controller  ) 
 

Creates a new ControllerWaitShutdownThread object

Parameters:
controller the controller to shutdown

Definition at line 46 of file ControllerSafeShutdownThread.java.

00047   {
00048     super(controller, Constants.SHUTDOWN_WAIT);
00049   }


Member Function Documentation

void org.objectweb.cjdbc.controller.core.shutdown.ControllerSafeShutdownThread.shutdown  )  throws ShutdownException [virtual]
 

See also:
org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread.shutdown()

Implements org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread.

Definition at line 54 of file ControllerSafeShutdownThread.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     shutdownServerConnectionThread(0);
00061     logger.info("Controller shutdown completed");
00062   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:03:46 2005 for C-JDBC by  doxygen 1.3.9.1