com.ca.jcs.cfg
Class GenericObjectPoolConfigBeanWrapper
java.lang.Object
org.apache.commons.pool.impl.GenericObjectPool.Config
com.ca.jcs.cfg.GenericObjectPoolConfigBeanWrapper
public class GenericObjectPoolConfigBeanWrapper
- extends GenericObjectPool.Config
Provides a JavaBean wrapper (therefore configurable via Spring XML) making up for the fact that
GenericObjectPool.Config in the Jakarta Commons Pool library does not have getter and setter methods for its fields.
| Fields inherited from class org.apache.commons.pool.impl.GenericObjectPool.Config |
lifo, maxActive, maxIdle, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, softMinEvictableIdleTimeMillis, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, whenExhaustedAction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericObjectPoolConfigBeanWrapper
public GenericObjectPoolConfigBeanWrapper()
GenericObjectPoolConfigBeanWrapper
public GenericObjectPoolConfigBeanWrapper(GenericObjectPool.Config cfg)
getMaxIdle
public int getMaxIdle()
setMaxIdle
public void setMaxIdle(int maxIdle)
getMinIdle
public int getMinIdle()
setMinIdle
public void setMinIdle(int minIdle)
getMaxActive
public int getMaxActive()
setMaxActive
public void setMaxActive(int maxActive)
getMaxWait
public long getMaxWait()
setMaxWait
public void setMaxWait(long maxWait)
getWhenExhaustedAction
public byte getWhenExhaustedAction()
setWhenExhaustedAction
public void setWhenExhaustedAction(byte whenExhaustedAction)
isTestOnBorrow
public boolean isTestOnBorrow()
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow)
isTestOnReturn
public boolean isTestOnReturn()
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn)
isTestWhileIdle
public boolean isTestWhileIdle()
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle)
getTimeBetweenEvictionRunsMillis
public long getTimeBetweenEvictionRunsMillis()
setTimeBetweenEvictionRunsMillis
public void setTimeBetweenEvictionRunsMillis(long time)
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun()
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(int numTests)
getMinEvictableIdleTimeMillis
public long getMinEvictableIdleTimeMillis()
setMinEvictableIdleTimeMillis
public void setMinEvictableIdleTimeMillis(long minIdleTimeMillis)
Created 2011-07-14 13:27 EST