public class StackKeyedObjectPoolFactory extends java.lang.Object implements KeyedObjectPoolFactory
StackKeyedObjectPool instances.StackKeyedObjectPool,
KeyedObjectPoolFactory| Constructor and Description |
|---|
StackKeyedObjectPoolFactory()
Create a new StackKeyedObjectPoolFactory.
|
StackKeyedObjectPoolFactory(int max)
Create a new StackKeyedObjectPoolFactory.
|
StackKeyedObjectPoolFactory(int max,
int init)
Create a new StackKeyedObjectPoolFactory.
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
Create a new StackKeyedObjectPoolFactory.
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int max)
Create a new StackKeyedObjectPoolFactory.
|
StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int max,
int init)
Create a new StackKeyedObjectPoolFactory.
|
| Modifier and Type | Method and Description |
|---|---|
KeyedObjectPool |
createPool()
Create a new
KeyedObjectPool. |
public StackKeyedObjectPoolFactory()
public StackKeyedObjectPoolFactory(int max)
max - cap on the number of "sleeping" instances in the pool.StackKeyedObjectPool.StackKeyedObjectPool(int)public StackKeyedObjectPoolFactory(int max,
int init)
max - cap on the number of "sleeping" instances in the pool.init - initial size of the pool (this specifies the size of the container, it does not cause the pool to be pre-populated.)StackKeyedObjectPool.StackKeyedObjectPool(int, int)public StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
factory - the KeyedPoolableObjectFactory used by created pools.StackKeyedObjectPool.StackKeyedObjectPool(KeyedPoolableObjectFactory)public StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory, int max)
factory - the KeyedPoolableObjectFactory used by created pools.max - cap on the number of "sleeping" instances in the pool.StackKeyedObjectPool.StackKeyedObjectPool(KeyedPoolableObjectFactory, int)public StackKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory, int max, int init)
factory - the KeyedPoolableObjectFactory used by created pools.max - cap on the number of "sleeping" instances in the pool.init - initial size of the pool (this specifies the size of the container, it does not cause the pool to be pre-populated.)StackKeyedObjectPool.StackKeyedObjectPool(KeyedPoolableObjectFactory, int, int)public KeyedObjectPool createPool()
KeyedObjectPoolFactoryKeyedObjectPool.createPool in interface KeyedObjectPoolFactoryKeyedObjectPoolCopyright © 2001-2003 Apache Software Foundation. Documenation generated November 21 2014.