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

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

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VirtualDatabaseSafeShutdownThread (VirtualDatabase vdb)
void shutdown () throws ShutdownException

Detailed Description

This thread waits for open transactions to complete before shutting down the virtual database.

Author:
Emmanuel Cecchet
Version:
1.0

Definition at line 38 of file VirtualDatabaseSafeShutdownThread.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseSafeShutdownThread.VirtualDatabaseSafeShutdownThread VirtualDatabase  vdb  ) 
 

Creates a new VirtualDatabaseSafeShutdownThread object

Parameters:
vdb the VirtualDatabase to shutdown

Definition at line 47 of file VirtualDatabaseSafeShutdownThread.java.

00048   {
00049     super(vdb, Constants.SHUTDOWN_SAFE);
00050   }


Member Function Documentation

void org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseSafeShutdownThread.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 55 of file VirtualDatabaseSafeShutdownThread.java.

00056   {
00057     this.waitForTransactionsAndWritesToComplete();
00058     this.terminateVirtualDatabaseWorkerThreads();
00059     this.disableAllBackends();
00060     this.closeVirtualDatabase();
00061   }


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