|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.codestudio.util.PoolSkimmerThread
PoolSkimmer manages the clean up of dead and expired objects floating around the pool.
Another Thread, LifeGuardThread, also monitors ObjectPool
instances. LifeGuardThread is more humane; it attempts to
send troubled objects back to their pools. PoolSkimmerThread
simply disposes of already dead or useless objects.
LifeGuardThread
Constructor Summary | |
PoolSkimmerThread(int skimmerSecs,
ObjectPool pool)
|
Method Summary | |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PoolSkimmerThread(int skimmerSecs, ObjectPool pool)
Method Detail |
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |