org.apache.commons.pool.impl

Class 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(PoolableObjectFactory,GenericObjectPool.Config), GenericObjectPool.setConfig(GenericObjectPool.Config)

Field Summary

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

Field Details

maxActive

public int maxActive

maxIdle

public int maxIdle

maxWait

public long maxWait

minEvictableIdleTimeMillis

public long minEvictableIdleTimeMillis

minIdle

public int minIdle

numTestsPerEvictionRun

public int numTestsPerEvictionRun

softMinEvictableIdleTimeMillis

public long softMinEvictableIdleTimeMillis

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 March 15 2007.