org.enhydra.jdbc.pool
Class PoolKeeper
java.lang.Object
org.enhydra.jdbc.pool.PoolKeeper
- All Implemented Interfaces:
- Runnable
public class PoolKeeper
- extends Object
- implements 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 |
PoolKeeper
public PoolKeeper(long sleepTime,
GenericPool pool)
- constructor, called by GenericPool (any kind of object)
stop
public void stop()
run
public void run()
- run method. allows to clean up the pool
- Specified by:
run in interface Runnable
Copyright © 2011. All Rights Reserved.