org.enhydra.jdbc.pool
Class PoolKeeper

java.lang.Object
  extended byorg.enhydra.jdbc.pool.PoolKeeper
All Implemented Interfaces:
java.lang.Runnable

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

PoolKeeper class allows to clean up automatically dead and expired objects.


Constructor Summary
PoolKeeper(long sleepTime, GenericPool pool)
          constructor, called by GenericPool (any kind of object)
 
Method Summary
 void run()
          run method.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolKeeper

public PoolKeeper(long sleepTime,
                  GenericPool pool)
constructor, called by GenericPool (any kind of object)

Method Detail

stop

public void stop()

run

public void run()
run method. allows to clean up the pool

Specified by:
run in interface java.lang.Runnable