org.objectweb.cjdbc.controller.core.shutdown
Class VirtualDatabaseForceShutdownThread

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.core.shutdown.ShutdownThread
      extended byorg.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThread
          extended byorg.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseForceShutdownThread
All Implemented Interfaces:
java.lang.Runnable

public class VirtualDatabaseForceShutdownThread
extends VirtualDatabaseShutdownThread

This thread forces an immediate shutdown of the VirtualDatabase without waiting for open transactions to complete.

Version:
1.0
Author:
Emmanuel Cecchet

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
VirtualDatabaseForceShutdownThread(VirtualDatabase vdb)
          Creates a new VirtualDatabaseForceShutdownThread 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

VirtualDatabaseForceShutdownThread

public VirtualDatabaseForceShutdownThread(VirtualDatabase vdb)
Creates a new VirtualDatabaseForceShutdownThread object

Parameters:
vdb - the VirtualDatabase to shutdown
Method Detail

shutdown

public void shutdown()
              throws ShutdownException
Description copied from class: ShutdownThread
Specific implementation of the shutdown method.

Specified by:
shutdown in class ShutdownThread
Throws:
ShutdownException - if fails
See Also:
ShutdownThread.shutdown()


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.