Package org.apache.commons.pool.impl
Class GenericObjectPool.Evictor
- java.lang.Object
-
- java.util.TimerTask
-
- org.apache.commons.pool.impl.GenericObjectPool.Evictor
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- GenericObjectPool<T>
private class GenericObjectPool.Evictor extends java.util.TimerTask
The idle object evictorTimerTask
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Evictor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Run pool maintenance.
-
-
-
Method Detail
-
run
public void run()
Run pool maintenance. Evict objects qualifying for eviction and then invokeGenericObjectPool.ensureMinIdle()
.- Specified by:
run
in interfacejava.lang.Runnable
- Specified by:
run
in classjava.util.TimerTask
-
-