org.mmbase.module.database
Class MultiPool.ConnectionCloser
java.lang.Object
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.
|
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 |
MultiPool.ConnectionCloser
public MultiPool.ConnectionCloser(MultiConnection con)
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