FileDocCategorySizeDatePackage
BoundedPool.javaAPI DocGlassfish v2 API4850Fri May 04 22:32:16 BST 2007com.sun.enterprise.util.pool

BoundedPool

public class BoundedPool extends ObjectPool

$Source: /cvs/glassfish/appserv-commons/src/java/com/sun/enterprise/util/pool/BoundedPool.java,v $
author
$Author: tcfujii $
version
$Revision: 1.4 $ $Date: 2007/05/05 05:32:16 $

Fields Summary
Constructors Summary
public BoundedPool(ObjectFactory factory, int minSize, int maxLimit, long maxIdleTime)
Create an Unbounded pool.

param
The ObjectFactory to create objects
param
The minimum number of objects to be held in the pool (initial size)
param
The pool limit (maximum number of objects in the pool).
param
The maximum idle time after which the object may be removed from the pool.

    	super(factory, minSize, minSize, maxLimit, maxIdleTime);
    
public BoundedPool(ObjectFactory factory, int minSize, int maxLimit, long maxIdleTime, int initialSize)
Create an Unbounded pool.

param
The ObjectFactory to create objects
param
The minimum number of objects to be held in the pool (initial size)
param
The pool limit (maximum number of objects in the pool).
param
The maximum idle time after which the object may be removed from the pool.
param
The initial size of the pool. If this is less than the minSize parameter then this is ignored.
param
The maximum number of strong references that are to held. The difference between maxLimit and maxStrongRefs gives the number of objects held in the pool through SoftReferences.

    	super(factory, minSize, initialSize, maxLimit, maxIdleTime);
    
Methods Summary