org.apache.commons.pool.impl
Class GenericObjectPool.Config

java.lang.Object
  |
  +--org.apache.commons.pool.impl.GenericObjectPool.Config
Enclosing class:
GenericObjectPool

public static class GenericObjectPool.Config
extends Object

A simple "struct" encapsulating the configuration information for a GenericObjectPool.

See Also:
GenericObjectPool.GenericObjectPool(org.apache.commons.pool.PoolableObjectFactory,org.apache.commons.pool.impl.GenericObjectPool.Config), GenericObjectPool.setConfig(org.apache.commons.pool.impl.GenericObjectPool.Config)

Field Summary
 int maxActive
           
 int maxIdle
           
 long maxWait
           
 long minEvictableIdleTimeMillis
           
 int minIdle
           
 int numTestsPerEvictionRun
           
 boolean testOnBorrow
           
 boolean testOnReturn
           
 boolean testWhileIdle
           
 long timeBetweenEvictionRunsMillis
           
 byte whenExhaustedAction
           
 
Constructor Summary
GenericObjectPool.Config()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxIdle

public int maxIdle

minIdle

public int minIdle

maxActive

public int maxActive

maxWait

public long maxWait

whenExhaustedAction

public byte whenExhaustedAction

testOnBorrow

public boolean testOnBorrow

testOnReturn

public boolean testOnReturn

testWhileIdle

public boolean testWhileIdle

timeBetweenEvictionRunsMillis

public long timeBetweenEvictionRunsMillis

numTestsPerEvictionRun

public int numTestsPerEvictionRun

minEvictableIdleTimeMillis

public long minEvictableIdleTimeMillis
Constructor Detail

GenericObjectPool.Config

public GenericObjectPool.Config()


Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.