public class GenericObjectPoolConfiguration extends Object
GenericObjectPool.Config
properties.Constructor and Description |
---|
GenericObjectPoolConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxActive() |
int |
getMaxIdle() |
long |
getMaxWait() |
long |
getMinEvictableIdleTimeMillis() |
int |
getMinIdle() |
int |
getNumTestsPerEvictionRun() |
long |
getSoftMinEvictableIdleTimeMillis() |
long |
getTimeBetweenEvictionRunsMillis() |
byte |
getWhenExhaustedAction() |
boolean |
isLifo() |
boolean |
isTestOnBorrow() |
boolean |
isTestOnReturn() |
boolean |
isTestWhileIdle() |
void |
setLifo(boolean lifo) |
void |
setMaxActive(int maxActive) |
void |
setMaxIdle(int maxIdle) |
void |
setMaxWait(long maxWait) |
void |
setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis) |
void |
setMinIdle(int minIdle) |
void |
setNumTestsPerEvictionRun(int numTestsPerEvictionRun) |
void |
setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis) |
void |
setTestOnBorrow(boolean testOnBorrow) |
void |
setTestOnReturn(boolean testOnReturn) |
void |
setTestWhileIdle(boolean testWhileIdle) |
void |
setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis) |
void |
setWhenExhaustedAction(byte whenExhaustedAction) |
org.apache.commons.pool.impl.GenericObjectPool.Config |
toConfig() |
public GenericObjectPoolConfiguration()
public org.apache.commons.pool.impl.GenericObjectPool.Config toConfig()
public int getMaxIdle()
public void setMaxIdle(int maxIdle)
public int getMinIdle()
public void setMinIdle(int minIdle)
public int getMaxActive()
public void setMaxActive(int maxActive)
public long getMaxWait()
public void setMaxWait(long maxWait)
public byte getWhenExhaustedAction()
public void setWhenExhaustedAction(byte whenExhaustedAction)
public boolean isTestOnBorrow()
public void setTestOnBorrow(boolean testOnBorrow)
public boolean isTestOnReturn()
public void setTestOnReturn(boolean testOnReturn)
public boolean isTestWhileIdle()
public void setTestWhileIdle(boolean testWhileIdle)
public long getTimeBetweenEvictionRunsMillis()
public void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
public int getNumTestsPerEvictionRun()
public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
public long getMinEvictableIdleTimeMillis()
public void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis)
public long getSoftMinEvictableIdleTimeMillis()
public void setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis)
public boolean isLifo()
public void setLifo(boolean lifo)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.