org.apache.commons.pool.impl
Class StackObjectPoolFactory
java.lang.Object
org.apache.commons.pool.impl.StackObjectPoolFactory
- All Implemented Interfaces:
- ObjectPoolFactory
public class StackObjectPoolFactory
- extends java.lang.Object
- implements ObjectPoolFactory
A factory for creating StackObjectPool
instances.
- Version:
- $Revision: 155430 $ $Date: 2005-02-26 08:13:28 -0500 (Sat, 26 Feb 2005) $
- Author:
- Rodney Waldhoff
- See Also:
StackObjectPool
,
StackKeyedObjectPoolFactory
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackObjectPoolFactory
public StackObjectPoolFactory()
StackObjectPoolFactory
public StackObjectPoolFactory(int max)
StackObjectPoolFactory
public StackObjectPoolFactory(int max,
int init)
StackObjectPoolFactory
public StackObjectPoolFactory(PoolableObjectFactory factory)
StackObjectPoolFactory
public StackObjectPoolFactory(PoolableObjectFactory factory,
int max)
StackObjectPoolFactory
public StackObjectPoolFactory(PoolableObjectFactory factory,
int max,
int init)
createPool
public ObjectPool createPool()
- Description copied from interface:
ObjectPoolFactory
- Create and return a new
ObjectPool
.
- Specified by:
createPool
in interface ObjectPoolFactory
- Returns:
- a new
ObjectPool
Copyright © 2001-2003 Apache Software Foundation. Documenation generated April 15 2009.