Package org.apache.commons.pool.impl
Class GenericKeyedObjectPool.Config
- java.lang.Object
-
- org.apache.commons.pool.impl.GenericKeyedObjectPool.Config
-
- Enclosing class:
- GenericKeyedObjectPool<K,V>
public static class GenericKeyedObjectPool.Config extends java.lang.ObjectA simple "struct" encapsulating the configuration information for aGenericKeyedObjectPool.
-
-
Field Summary
Fields Modifier and Type Field Description booleanlifointmaxActiveintmaxIdleintmaxTotallongmaxWaitlongminEvictableIdleTimeMillisintminIdleintnumTestsPerEvictionRunbooleantestOnBorrowbooleantestOnReturnbooleantestWhileIdlelongtimeBetweenEvictionRunsMillisbytewhenExhaustedAction
-
Constructor Summary
Constructors Constructor Description Config()
-
-
-
Field Detail
-
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
-
testOnBorrow
public boolean testOnBorrow
-
testOnReturn
public boolean testOnReturn
-
testWhileIdle
public boolean testWhileIdle
-
timeBetweenEvictionRunsMillis
public long timeBetweenEvictionRunsMillis
-
numTestsPerEvictionRun
public int numTestsPerEvictionRun
-
minEvictableIdleTimeMillis
public long minEvictableIdleTimeMillis
-
lifo
public boolean lifo
- See Also:
GenericKeyedObjectPool.setLifo(boolean)
-
-