org.apache.commons.pool.impl
Class GenericKeyedObjectPool.Config
java.lang.Object
org.apache.commons.pool.impl.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(org.apache.commons.pool.impl.GenericKeyedObjectPool.Config)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxIdle
public int maxIdle
- See Also:
GenericKeyedObjectPool.setMaxIdle(int)
maxActive
public int maxActive
- See Also:
GenericKeyedObjectPool.setMaxActive(int)
maxTotal
public int maxTotal
- See Also:
GenericKeyedObjectPool.setMaxTotal(int)
minIdle
public int minIdle
- See Also:
GenericKeyedObjectPool.setMinIdle(int)
maxWait
public long maxWait
- See Also:
GenericKeyedObjectPool.setMaxWait(long)
whenExhaustedAction
public byte whenExhaustedAction
- See Also:
GenericKeyedObjectPool.setWhenExhaustedAction(byte)
testOnBorrow
public boolean testOnBorrow
- See Also:
GenericKeyedObjectPool.setTestOnBorrow(boolean)
testOnReturn
public boolean testOnReturn
- See Also:
GenericKeyedObjectPool.setTestOnReturn(boolean)
testWhileIdle
public boolean testWhileIdle
- See Also:
GenericKeyedObjectPool.setTestWhileIdle(boolean)
timeBetweenEvictionRunsMillis
public long timeBetweenEvictionRunsMillis
- See Also:
GenericKeyedObjectPool.setTimeBetweenEvictionRunsMillis(long)
numTestsPerEvictionRun
public int numTestsPerEvictionRun
- See Also:
GenericKeyedObjectPool.setNumTestsPerEvictionRun(int)
minEvictableIdleTimeMillis
public long minEvictableIdleTimeMillis
- See Also:
GenericKeyedObjectPool.setMinEvictableIdleTimeMillis(long)
lifo
public boolean lifo
- See Also:
GenericKeyedObjectPool.setLifo(boolean)
GenericKeyedObjectPool.Config
public GenericKeyedObjectPool.Config()
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.