|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThread org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseSafeShutdownThread
This thread waits for open transactions to complete before shutting down the virtual database.
Field Summary |
Fields inherited from class org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThread |
virtualDatabase |
Fields inherited from class org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread |
logger, shutdownGroup, shutdownLevel |
Constructor Summary | |
VirtualDatabaseSafeShutdownThread(VirtualDatabase vdb)
Creates a new VirtualDatabaseSafeShutdownThread object |
Method Summary | |
void |
shutdown()
Specific implementation of the shutdown method. |
Methods inherited from class org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThread |
disableAllBackends, shutdownCacheRecoveryLogAndGroupCommunication, terminateVirtualDatabaseWorkerThreads, waitForClientsToDisconnect, waitForTransactionsAndWritesToComplete |
Methods inherited from class org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread |
abortShutdown, getShutdownGroup, getShutdownLevel, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VirtualDatabaseSafeShutdownThread(VirtualDatabase vdb)
VirtualDatabaseSafeShutdownThread
object
vdb
- the VirtualDatabase to shutdownMethod Detail |
public void shutdown() throws ShutdownException
ShutdownThread
shutdown
in class ShutdownThread
ShutdownException
- if failsShutdownThread.shutdown()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |