public static class GenericObjectPool.Config extends 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 |
---|
GenericObjectPool.Config() |
public int maxIdle
GenericObjectPool.setMaxIdle(int)
public int minIdle
GenericObjectPool.setMinIdle(int)
public int maxActive
GenericObjectPool.setMaxActive(int)
public long maxWait
GenericObjectPool.setMaxWait(long)
public byte whenExhaustedAction
public boolean testOnBorrow
public boolean testOnReturn
public boolean testWhileIdle
public long timeBetweenEvictionRunsMillis
public int numTestsPerEvictionRun
public long minEvictableIdleTimeMillis
public long softMinEvictableIdleTimeMillis
public boolean lifo
GenericObjectPool.setLifo(boolean)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.