java.lang.Object
org.apache.commons.pool.impl.GenericObjectPool.Evictor
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- GenericObjectPool
- class GenericObjectPool.Evictor
- extends java.lang.Object
- implements java.lang.Runnable
The idle object evictor thread.
|
Method Summary |
(package private) void |
cancel()
|
void |
run()
This method will be called by whoever wishes to run your class
implementing Runnable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_cancelled
private boolean _cancelled
_delay
private long _delay
GenericObjectPool.Evictor
public GenericObjectPool.Evictor(long delay)
cancel
void cancel()
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable