Methods Summary |
---|
public abstract Type | aquire()Return an object from the pool or create one if the pool is empty.
|
public abstract void | destroy()releases all pooled objects using
{@link PoolObjectFactory#destroyInstance(Object)} method. The pool can not
be reused after this method has been called
|
public abstract boolean | expires()
|
public abstract long | getExpireTime()
|
public abstract int | getSize()
|
public abstract void | release(Type type)Adds a previously aquired object to the pool. If the pool has already
been closed or if the pool has already reached his size the released
object will be destroyed using
{@link PoolObjectFactory#destroyInstance(Object)} method.
|