BaseGenericObjectPool.Evictor

The idle object evictor {@link TimerTask}.

@see GenericKeyedObjectPool#setTimeBetweenEvictionRunsMillis

class BaseGenericObjectPool
class Evictor : Runnable {}

Members

Functions

cancel
void cancel()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()

Run pool maintenance. Evict objects qualifying for eviction and then ensure that the minimum number of idle instances are available. Since the Timer that invokes Evictors is shared for all Pools but pools may exist in different class loaders, the Evictor ensures that any actions taken are under the class loader of the factory associated with the pool.

setScheduledFuture
void setScheduledFuture(IFuture scheduledFuture)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta