Method Summary |
|
public synchronized void | checkIn(Object o) Checks the given object back in to the pool. |
public synchronized Object | checkOut() Checkout an object from the pool. |
synchronized void | cleanUp() Cleans up expired objects from the pool. |
public synchronized int | countObjects() Returns the number of objects in the pool. |
abstract public Object | create() Creates new object for pool. |
abstract public void | expire(Object o) Expires given object. |
public void | setMinPoolSize(int num) Sets the minimum pool size. |
abstract public boolean | validate(Object o) Returns true if object is valid. |