org.apache.commons.pool.impl

Class GenericKeyedObjectPool.Config

Enclosing Class:
GenericKeyedObjectPool

public static class GenericKeyedObjectPool.Config
extends Object

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

See Also:
GenericKeyedObjectPool.GenericKeyedObjectPool(KeyedPoolableObjectFactory,GenericKeyedObjectPool.Config), GenericKeyedObjectPool.setConfig(GenericKeyedObjectPool.Config)

Field Summary

int
maxActive
int
maxIdle
int
maxTotal
long
maxWait
long
minEvictableIdleTimeMillis
int
numTestsPerEvictionRun
boolean
testOnBorrow
boolean
testOnReturn
boolean
testWhileIdle
long
timeBetweenEvictionRunsMillis
byte
whenExhaustedAction

Field Details

maxActive

public int maxActive


maxIdle

public int maxIdle


maxTotal

public int maxTotal


maxWait

public long maxWait


minEvictableIdleTimeMillis

public long minEvictableIdleTimeMillis


numTestsPerEvictionRun

public int numTestsPerEvictionRun


testOnBorrow

public boolean testOnBorrow


testOnReturn

public boolean testOnReturn


testWhileIdle

public boolean testWhileIdle


timeBetweenEvictionRunsMillis

public long timeBetweenEvictionRunsMillis


whenExhaustedAction

public byte whenExhaustedAction


Copyright © 2001-2003 Apache Software Foundation. Documenation generated May 21 2005.