org.mmbase.module.database
Class MultiPool.ConnectionCloser

java.lang.Object
  extended by org.mmbase.module.database.MultiPool.ConnectionCloser
All Implemented Interfaces:
Runnable
Enclosing class:
MultiPool

static class MultiPool.ConnectionCloser
extends Object
implements Runnable

Support class to close connections in a seperate thread, as some JDBC drivers have a tendency to hang themselves on a running sql close.


Constructor Summary
MultiPool.ConnectionCloser(MultiConnection con)
           
 
Method Summary
 void run()
          Close the database connection.
protected  void start()
          Starts a Thread and runs this Runnable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPool.ConnectionCloser

public MultiPool.ConnectionCloser(MultiConnection con)
Method Detail

start

protected void start()
Starts a Thread and runs this Runnable


run

public void run()
Close the database connection.

Specified by:
run in interface Runnable


MMBase 2.0-SNAPSHOT - null