Package org.apache.commons.pool.impl
Class GenericObjectPool.Config
- java.lang.Object
-
- org.apache.commons.pool.impl.GenericObjectPool.Config
-
- Enclosing class:
- GenericObjectPool<T>
public static class GenericObjectPool.Config extends java.lang.ObjectA simple "struct" encapsulating the configuration information for aGenericObjectPool.
-
-
Field Summary
Fields Modifier and Type Field Description booleanlifointmaxActiveintmaxIdlelongmaxWaitlongminEvictableIdleTimeMillisintminIdleintnumTestsPerEvictionRunlongsoftMinEvictableIdleTimeMillisbooleantestOnBorrowbooleantestOnReturnbooleantestWhileIdlelongtimeBetweenEvictionRunsMillisbytewhenExhaustedAction
-
Constructor Summary
Constructors Constructor Description Config()
-
-
-
Field Detail
-
maxIdle
public int maxIdle
- See Also:
GenericObjectPool.setMaxIdle(int)
-
minIdle
public int minIdle
- See Also:
GenericObjectPool.setMinIdle(int)
-
maxActive
public int maxActive
- See Also:
GenericObjectPool.setMaxActive(int)
-
maxWait
public long maxWait
- See Also:
GenericObjectPool.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
-
softMinEvictableIdleTimeMillis
public long softMinEvictableIdleTimeMillis
-
lifo
public boolean lifo
- See Also:
GenericObjectPool.setLifo(boolean)
-
-