org.mmbase.module.database
Class JDBCProbe

java.lang.Object
  |
  +--org.mmbase.module.database.JDBCProbe
All Implemented Interfaces:
java.lang.Runnable

public class JDBCProbe
extends java.lang.Object
implements java.lang.Runnable

JDBCProbe checks all JDBC connection every X seconds to find and remove bad connections works using a callback into JDBC.

Version:
$Id: JDBCProbe.java,v 1.5 2002/10/10 18:08:43 michiel Exp $
Author:
Daniel Ockeloen

Constructor Summary
JDBCProbe(JDBC parent)
           
JDBCProbe(JDBC parent, int ct)
           
 
Method Summary
 void init()
           
 void run()
          admin probe, try's to make a call to all the maintainance calls.
 void start()
          Starts the admin Thread.
 void stop()
          Stops the admin Thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCProbe

public JDBCProbe(JDBC parent)

JDBCProbe

public JDBCProbe(JDBC parent,
                 int ct)
Method Detail

init

public void init()

start

public void start()
Starts the admin Thread.

stop

public void stop()
Stops the admin Thread.

run

public void run()
admin probe, try's to make a call to all the maintainance calls.
Specified by:
run in interface java.lang.Runnable


MMBase build 1.6.5.20030923