public static class GenericObjectPool.Config
extends java.lang.Object
GenericObjectPool
.Modifier and Type | Field and Description |
---|---|
boolean |
lifo |
int |
maxActive |
int |
maxIdle |
long |
maxWait |
long |
minEvictableIdleTimeMillis |
int |
minIdle |
int |
numTestsPerEvictionRun |
long |
softMinEvictableIdleTimeMillis |
boolean |
testOnBorrow |
boolean |
testOnReturn |
boolean |
testWhileIdle |
long |
timeBetweenEvictionRunsMillis |
byte |
whenExhaustedAction |
Constructor and Description |
---|
Config() |
public boolean lifo
GenericObjectPool.setLifo(boolean)
public int maxActive
GenericObjectPool.setMaxActive(int)
public int maxIdle
GenericObjectPool.setMaxIdle(int)
public long maxWait
GenericObjectPool.setMaxWait(long)
public long minEvictableIdleTimeMillis
public int minIdle
GenericObjectPool.setMinIdle(int)
public int numTestsPerEvictionRun
public long softMinEvictableIdleTimeMillis
public boolean testOnBorrow
public boolean testOnReturn
public boolean testWhileIdle
public long timeBetweenEvictionRunsMillis
public byte whenExhaustedAction
Copyright © 2001-2003 Apache Software Foundation. Documenation generated October 17 2018.