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 java.lang.IllegalStateException
ObjectPool.ObjectPooljava.lang.IllegalStateException - when this pool factory is not configured properlyCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.