T - the type of objects held in this poolpublic interface ObjectPoolFactory<T>
ObjectPools.ObjectPool| Modifier and Type | Method and Description |
|---|---|
ObjectPool<T> |
createPool()
Create and return a new
ObjectPool. |
ObjectPool<T> createPool() throws IllegalStateException
ObjectPool.ObjectPoolIllegalStateException - when this pool factory is not configured properlyCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.