public static class GenericKeyedObjectPool.Config extends Object
GenericKeyedObjectPool
.Modifier and Type | Field and Description |
---|---|
boolean |
lifo |
int |
maxActive |
int |
maxIdle |
int |
maxTotal |
long |
maxWait |
long |
minEvictableIdleTimeMillis |
int |
minIdle |
int |
numTestsPerEvictionRun |
boolean |
testOnBorrow |
boolean |
testOnReturn |
boolean |
testWhileIdle |
long |
timeBetweenEvictionRunsMillis |
byte |
whenExhaustedAction |
Constructor and Description |
---|
Config() |
public int maxIdle
GenericKeyedObjectPool.setMaxIdle(int)
public int maxActive
GenericKeyedObjectPool.setMaxActive(int)
public int maxTotal
GenericKeyedObjectPool.setMaxTotal(int)
public int minIdle
GenericKeyedObjectPool.setMinIdle(int)
public long maxWait
GenericKeyedObjectPool.setMaxWait(long)
public byte whenExhaustedAction
public boolean testOnBorrow
public boolean testOnReturn
public boolean testWhileIdle
public long timeBetweenEvictionRunsMillis
public int numTestsPerEvictionRun
public long minEvictableIdleTimeMillis
public boolean lifo
GenericKeyedObjectPool.setLifo(boolean)
Copyright © 2023. All rights reserved.