public interface ObjectPoolFactory<T>
限定符和类型 | 方法和说明 |
---|---|
ObjectPool<T> |
createPool()
Create and return a new
ObjectPool . |
ObjectPool<T> createPool() throws java.lang.IllegalStateException
ObjectPool
.ObjectPool
java.lang.IllegalStateException
- when this pool factory is not configured properly